diff --git a/packages/nuxt/src/app/plugins/check-if-layout-used.ts b/packages/nuxt/src/app/plugins/check-if-layout-used.ts index 2c79642b6e..2656afa8c4 100644 --- a/packages/nuxt/src/app/plugins/check-if-layout-used.ts +++ b/packages/nuxt/src/app/plugins/check-if-layout-used.ts @@ -17,5 +17,8 @@ export default defineNuxtPlugin({ } else { onNuxtReady(checkIfLayoutUsed) } + }, + env: { + islands: false } })