Skip to content

Docs inconsistent on whether to use defineNuxtPlugin #22433

@bmulholland

Description

@bmulholland

https://nuxt.com/docs/bridge/bridge-composition-api#definenuxtplugin

"This was a type-helper stub function that is now removed. [...] Remove the defineNuxtPlugin wrapper"

And then

https://nuxt.com/docs/guide/directory-structure/plugins#creating-plugins

which suggests export default defineNuxtPlugin(nuxtApp => {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions