Skip to content

Missing defineNuxtPlugin documentation #32211

@BobbieGoede

Description

@BobbieGoede

While the function is partially/indirectly documented on https://nuxt.com/docs/guide/directory-structure/plugins#creating-plugins, there is no dedicated API > Utils > defineNuxtPlugin page which describes the function signature/parameters in full.

This is problematic as searching for defineNuxtPlugin in the documentation has the migration guide for @nuxtjs/composition-api as the first result, which describes it as a helper function which was removed (related #22433).

Image

Though there is a notice that there is a new function with the same name at the bottom, with a broken read more link.

Image

Might be a good first issue if anyone is up for it, might be a while until I have time to work on this myself.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions