mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
docs: update doc
This commit is contained in:
parent
f2643d8779
commit
c94afe4fa0
@ -36,6 +36,12 @@ Server only components use `<NuxtIsland>` under the hood
|
|||||||
- **type**: `Record<string, any>`
|
- **type**: `Record<string, any>`
|
||||||
- `source`: Remote source to call the island to render.
|
- `source`: Remote source to call the island to render.
|
||||||
- **type**: `string`
|
- **type**: `string`
|
||||||
|
- `useCache`: Use the cached payload if available
|
||||||
|
- **type**: `boolean`
|
||||||
|
- **default**: `true`
|
||||||
|
- `setCache`: Cache the `NuxtIslandResponse` for reuse with `useCache` prop. Note that this is always cached in SSR.
|
||||||
|
- **type**: `boolean`
|
||||||
|
- **default**: `true`
|
||||||
|
|
||||||
::callout{color="blue" icon="i-ph-info-duotone"}
|
::callout{color="blue" icon="i-ph-info-duotone"}
|
||||||
Remote islands need `experimental.componentIslands` to be `'local+remote'` in your `nuxt.config`.
|
Remote islands need `experimental.componentIslands` to be `'local+remote'` in your `nuxt.config`.
|
||||||
|
Loading…
Reference in New Issue
Block a user