From bfe9161d27dfbb0d2ebd82541cf7c3079104fe0f Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Thu, 30 Nov 2023 11:29:37 +0100 Subject: [PATCH] fix(nuxt): skip check for `` usage in islands (#24529) --- packages/nuxt/src/app/plugins/check-if-layout-used.ts | 3 +++ 1 file changed, 3 insertions(+) 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 } })