`auto-animate/nuxt`: Module causes 'is not wrapped in defineNuxtPlugin' warning since v0.10.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- nuxt, typescript
- Domain
- frontend
Research direction
Inspect the Nuxt module's runtime/plugin.mjs, which is named in the warning, and trace how the module registers that runtime plugin. Reproduce the warning in a Nuxt app using the module, then verify that the warning is gone while the plugin and directive still work as reported.
Written by the indexing model from the issue text.
Description
Hello,
since the new version v0.10.0 the following warning message appears in the console when running a Nuxt app that uses the auto-animate module:
[nuxt 2:44:48 PM] WARN Plugin <project_path>/node_modules/@formkit/auto-animate/nuxt/runtime/plugin.mjs is not wrapped in defineNuxtPlugin. It is advised to wrap your plugins as in the future this may enable enhancements.
The functionality is unchanged and the plugin/directive works correctly.
If you need a repro let me know but I think this reproduces in any Nuxt project that uses the module.
- Dominant language
- TypeScript
- Stars
- 13.9k
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from formkit/auto-animate
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
formkit/auto-animate#232 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
formkit/auto-animate#235 · 1 comment · 1 reaction ·
-
Image to Video Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
formkit/auto-animate#233 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
formkit/auto-animate#231 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
formkit/auto-animate#230 ·
All issues in formkit/auto-animate
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100