docs: update doc

This commit is contained in:
julien huang 2023-11-15 00:16:20 +01:00
parent f2643d8779
commit c94afe4fa0

View File

@ -36,6 +36,12 @@ Server only components use `<NuxtIsland>` under the hood
- **type**: `Record<string, any>`
- `source`: Remote source to call the island to render.
- **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"}
Remote islands need `experimental.componentIslands` to be `'local+remote'` in your `nuxt.config`.