mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
fix(nuxt3): add built-in modules last (#2911)
This commit is contained in:
parent
b0a56ad807
commit
7a1cf622bc
@ -101,7 +101,7 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
|
|||||||
// Temporary until finding better placement for each
|
// Temporary until finding better placement for each
|
||||||
options.appDir = options.alias['#app'] = resolve(distDir, 'app')
|
options.appDir = options.alias['#app'] = resolve(distDir, 'app')
|
||||||
options._majorVersion = 3
|
options._majorVersion = 3
|
||||||
options.buildModules.push(pagesModule, metaModule, componentsModule, autoImportsModule)
|
options._modules.push(pagesModule, metaModule, componentsModule, autoImportsModule)
|
||||||
options.modulesDir.push(resolve(pkgDir, 'node_modules'))
|
options.modulesDir.push(resolve(pkgDir, 'node_modules'))
|
||||||
options.alias['vue-demi'] = resolve(options.appDir, 'compat/vue-demi')
|
options.alias['vue-demi'] = resolve(options.appDir, 'compat/vue-demi')
|
||||||
options.alias['@vue/composition-api'] = resolve(options.appDir, 'compat/capi')
|
options.alias['@vue/composition-api'] = resolve(options.appDir, 'compat/capi')
|
||||||
|
Loading…
Reference in New Issue
Block a user