mirror of https://github.com/nuxt/nuxt.git
fix: remove redundant call to `generateApp` (#3426)
This commit is contained in:
parent
a104f61683
commit
d6102de08f
|
@ -115,7 +115,6 @@ export default defineNuxtModule<ComponentsOptions>({
|
||||||
nuxt.hook('app:templates', async () => {
|
nuxt.hook('app:templates', async () => {
|
||||||
options.components = await scanComponents(componentDirs, nuxt.options.srcDir!)
|
options.components = await scanComponents(componentDirs, nuxt.options.srcDir!)
|
||||||
await nuxt.callHook('components:extend', options.components)
|
await nuxt.callHook('components:extend', options.components)
|
||||||
await nuxt.callHook('builder:generateApp')
|
|
||||||
})
|
})
|
||||||
|
|
||||||
nuxt.hook('prepare:types', ({ references }) => {
|
nuxt.hook('prepare:types', ({ references }) => {
|
||||||
|
|
Loading…
Reference in New Issue