mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
docs: update hooks (#3875)
This commit is contained in:
parent
a0c4d6e7e3
commit
e19c638b3f
@ -34,9 +34,9 @@ Check the [source code](https://github.com/nuxt/framework/blob/main/packages/sch
|
|||||||
|
|
||||||
## Runtime Hooks
|
## 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]
|
```js [plugins/test.ts]
|
||||||
export defineNuxtPlugin(nuxtApp) {
|
export defineNuxtPlugin(nuxtApp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user