mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
refactor(nuxt): remove unused meta:register
hook (#7130)
This commit is contained in:
parent
cafc955fb8
commit
6fbbf8c5bc
@ -12,7 +12,6 @@ Hook | Arguments | Environment | Description
|
||||
`app:error` | `err` | Server & Client | Called when a fatal error occurs.
|
||||
`app:error:cleared` | `{ redirect? }` | Server & Client | Called when a fatal error occurs.
|
||||
`app:data:refresh` | `keys?` | Server & Client | (internal)
|
||||
`meta:register` | `metaRenderers` | Server & Client | (internal)
|
||||
`vue:setup` | - | Server & Client | (internal)
|
||||
`vue:error` | `err, target, info` | Server & Client | Called when a vue error propages to the root component. [Learn More](https://vuejs.org/api/composition-api-lifecycle.html#onerrorcaptured).
|
||||
`app:rendered` | `renderContext` | Server | Called when SSR rendering is done.
|
||||
|
@ -33,7 +33,6 @@ export interface RuntimeNuxtHooks {
|
||||
'app:data:refresh': (keys?: string[]) => HookResult
|
||||
'page:start': (Component?: VNode) => HookResult
|
||||
'page:finish': (Component?: VNode) => HookResult
|
||||
'meta:register': (metaRenderers: Array<(nuxt: NuxtApp) => NuxtMeta | Promise<NuxtMeta>>) => HookResult
|
||||
'vue:setup': () => void
|
||||
'vue:error': (...args: Parameters<Parameters<typeof onErrorCaptured>[0]>) => HookResult
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user