docs: mention island features are SFC only (#26013)

This commit is contained in:
Julien Huang 2024-03-02 10:24:56 +01:00 committed by GitHub
parent ea343ecc04
commit e890c9a64b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,6 +295,10 @@ Now you can register server-only components with the `.server` suffix and use th
Server-only components use [`<NuxtIsland>`](/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}