From c94afe4fa0d2442b48072dff6a3f27699fdcc322 Mon Sep 17 00:00:00 2001 From: julien huang Date: Wed, 15 Nov 2023 00:16:20 +0100 Subject: [PATCH] docs: update doc --- docs/3.api/1.components/8.nuxt-island.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/3.api/1.components/8.nuxt-island.md b/docs/3.api/1.components/8.nuxt-island.md index 47a945e92b..9dd1f2f65d 100644 --- a/docs/3.api/1.components/8.nuxt-island.md +++ b/docs/3.api/1.components/8.nuxt-island.md @@ -36,6 +36,12 @@ Server only components use `` under the hood - **type**: `Record` - `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`.