docs: replace backtick with apostrophe (#7015)

This commit is contained in:
HomWang 2022-08-29 16:48:22 +08:00 committed by GitHub
parent 25ef26c38d
commit 5a8c60b9f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ You may also keep using Nuxt 2-style plugins, by removing the function (as with
Remove the `defineNuxtPlugin` wrapper: Remove the `defineNuxtPlugin` wrapper:
```diff ```diff
- import { defineNuxtPlugin } from '@nuxtjs/composition-api` - import { defineNuxtPlugin } from '@nuxtjs/composition-api'
- export default defineNuxtPlugin((ctx, inject) => {}) - export default defineNuxtPlugin((ctx, inject) => {})
+ export default (ctx, inject) => {} + export default (ctx, inject) => {}
``` ```