How to add new hooks to Nuxt from a module?
Is there a place in the docs that shows how to add new hooks from a module so the module users can hook into it and extend it?
Thanks
2 Replies
https://nuxt.com/docs/guide/going-further/hooks#within-nuxt-modules
https://nuxt.com/docs/guide/going-further/hooks#additional-hooks these should be related, haven't tried it myself
thanks, the links they only show how to type the custom hooks. there's no info on how to register them