Describe the feature
From Nuxt, i want to change the order of the hooks at the top level,
need a way to get the hooks, then sort them or add them again.
Something like this,
- getHooks(name:string):HookCallback[]
- removeXxx(xxx):HookCallback[]| HookCallback
and more,
the HookCallback can return boolean,
like Vue's onErrorCaptured hook does,
can return false to prevent other hooks from calling.
Additional information
Describe the feature
From Nuxt, i want to change the order of the hooks at the top level,
need a way to get the hooks, then sort them or add them again.
Something like this,
and more,
the HookCallback can return
boolean,like Vue's
onErrorCapturedhook does,can return
falseto prevent other hooks from calling.Additional information