diff --git a/packages/nuxt/src/imports/module.ts b/packages/nuxt/src/imports/module.ts index 033ef78d49..f86a6243f9 100644 --- a/packages/nuxt/src/imports/module.ts +++ b/packages/nuxt/src/imports/module.ts @@ -126,7 +126,7 @@ export default defineNuxtModule>({ } }) - nuxt.hook('builder:generateApp', async () => { + nuxt.hook('app:templatesGenerated', async () => { await regenerateImports() }) }