diff --git a/packages/nuxt3/src/core/nuxt.ts b/packages/nuxt3/src/core/nuxt.ts index f384dc02da..e9689f078e 100644 --- a/packages/nuxt3/src/core/nuxt.ts +++ b/packages/nuxt3/src/core/nuxt.ts @@ -67,7 +67,8 @@ async function initNuxt (nuxt: Nuxt) { }) for (const m of modulesToInstall) { - await installModule(m, nuxt) + const inlineOptions = Array.isArray(m) ? m[1] : {} + await installModule(m, inlineOptions, nuxt) } await nuxt.callHook('modules:done', { nuxt } as ModuleContainer)