mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: warn about nested islands (#28062)
This commit is contained in:
parent
7f7136c3d3
commit
057cfa99bf
@ -303,6 +303,10 @@ Server-only components use [`<NuxtIsland>`](/docs/api/components/nuxt-island) un
|
|||||||
Server components (and islands) must have a single root element. (HTML comments are considered elements as well.)
|
Server components (and islands) must have a single root element. (HTML comments are considered elements as well.)
|
||||||
::
|
::
|
||||||
|
|
||||||
|
::alert{type=warning}
|
||||||
|
Be careful when nesting islands within other islands as each island adds some extra overhead.
|
||||||
|
::
|
||||||
|
|
||||||
::alert{type=warning}
|
::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.
|
Most features for server-only components and island components, such as slots and client components, are only available for single file components.
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user