mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs: mention island features are SFC only (#26013)
This commit is contained in:
parent
ea343ecc04
commit
e890c9a64b
@ -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.
|
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
|
#### Client components within server components
|
||||||
|
|
||||||
::alert{type=info}
|
::alert{type=info}
|
||||||
|
Loading…
Reference in New Issue
Block a user