mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
docs: fix typo (#2323)
This commit is contained in:
parent
70044d139b
commit
617a65a691
@ -70,7 +70,7 @@ This was a type-helper stub function that is now removed.
|
|||||||
|
|
||||||
You may also keep using Nuxt 2-style plugins, by simply removing the function (as with [defineNuxtMiddleware](#definenuxtmiddleware)).
|
You may also keep using Nuxt 2-style plugins, by simply removing the function (as with [defineNuxtMiddleware](#definenuxtmiddleware)).
|
||||||
|
|
||||||
Simply remove the `defineNuxtMiddleware` wrapper:
|
Simply remove the `defineNuxtPlugin` wrapper:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
- import { defineNuxtPlugin } from '@nuxtjs/composition-api`
|
- import { defineNuxtPlugin } from '@nuxtjs/composition-api`
|
||||||
|
Loading…
Reference in New Issue
Block a user