Skip to content

Commit

Permalink
docs: mention island features are SFC only (#26013)
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Mar 2, 2024
1 parent ea343ec commit e890c9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/2.guide/2.directory-structure/1.components.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e890c9a

Please sign in to comment.