From e890c9a64ba14d9622a58254fef0f20623df44d9 Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sat, 2 Mar 2024 10:24:56 +0100 Subject: [PATCH] docs: mention island features are SFC only (#26013) --- docs/2.guide/2.directory-structure/1.components.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/2.guide/2.directory-structure/1.components.md b/docs/2.guide/2.directory-structure/1.components.md index 929d2b6a42..655cb98bd9 100644 --- a/docs/2.guide/2.directory-structure/1.components.md +++ b/docs/2.guide/2.directory-structure/1.components.md @@ -295,6 +295,10 @@ Now you can register server-only components with the `.server` suffix and use th Server-only components use [``](/docs/api/components/nuxt-island) under the hood, meaning that `lazy` prop and `#fallback` slot are both passed down to it. +::alert{type=warning} +Most features for server-only components and island components, such as slots and client components, are only available for single file components. +:: + #### Client components within server components ::alert{type=info}