Hooks

Hooks are listeners to Nuxt events. Learn more

You can register hooks on certain life cycle events.

HookArgumentsWhen
sitemap:generate:before(nuxt, sitemapOptions)Hook on before site generation
sitemap:generate:done(nuxt)Hook on sitemap generation finished