mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix(nuxt): regenerate imports after template (#21934)
This commit is contained in:
parent
dfef49f508
commit
28e91a7aad
@ -126,7 +126,7 @@ export default defineNuxtModule<Partial<ImportsOptions>>({
|
||||
}
|
||||
})
|
||||
|
||||
nuxt.hook('builder:generateApp', async () => {
|
||||
nuxt.hook('app:templatesGenerated', async () => {
|
||||
await regenerateImports()
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user