We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 088a86f commit cf251bdCopy full SHA for cf251bd
packages/kit/src/loader/nuxt.ts
@@ -38,7 +38,7 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
38
const rootDir = pathToFileURL(opts.cwd || process.cwd()).href
39
40
// Nuxt 3
41
- if (majorVersion === 3) {
+ if (majorVersion && majorVersion >= 3) {
42
const { loadNuxt } = await importModule((pkg as any)._name || pkg.name, rootDir)
43
const nuxt = await loadNuxt(opts)
44
return nuxt
0 commit comments