docs: update hooks (#3875)

This commit is contained in:
L.Rain 2022-03-24 19:03:18 +08:00 committed by GitHub
parent a0c4d6e7e3
commit e19c638b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,9 +34,9 @@ Check the [source code](https://github.com/nuxt/framework/blob/main/packages/sch
## Runtime Hooks
App hooks can be mainly used by [Nuxt Plugins] (/docs/directory-structure/plugins) to hook into rendering lifecycle but could also be used in Vue composables.
App hooks can be mainly used by [Nuxt Plugins](/docs/directory-structure/plugins) to hook into rendering lifecycle but could also be used in Vue composables.
### Usage with Modules
### Usage with Plugins
```js [plugins/test.ts]
export defineNuxtPlugin(nuxtApp) {