diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index e41c21913b..3c89ddedfc 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -53,7 +53,8 @@ export async function bundle (nuxt: Nuxt) { optimizeDeps: { entries: [ resolve(nuxt.options.appDir, 'entry.ts') - ] + ], + include: ['vue'] }, css: resolveCSSOptions(nuxt), build: {