docs: mention NuxtIsland in server only components docs (#22685)

This commit is contained in:
Julien Huang 2023-08-19 16:37:12 +02:00 committed by GitHub
parent 3d78c79e3d
commit 09971c62a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,6 +312,8 @@ Now you can register server-only components with the `.server` suffix and use th
</template>
```
Server-only components use `<NuxtIsland>` under the hood, meaning that `lazy` prop and `#fallback` slot are both passed down to `<NuxtIsland>`.
::alert{type=info}
Slots can be interactive and are wrapped within a `<div>` with `display: contents;`
::