Skip to content

auto-animate/nuxt: Module causes 'is not wrapped in defineNuxtPlugin' warning since v0.10.0 #240

Description

@yschroe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions