docs: fix typo (#2323)

This commit is contained in:
Victor 2021-12-09 09:54:37 -05:00 committed by GitHub
parent 70044d139b
commit 617a65a691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`