From 3409073b0bcfb03669a11100596b0f022b1df7d0 Mon Sep 17 00:00:00 2001 From: RBV1 Date: Thu, 14 Nov 2024 12:47:50 +0200 Subject: [PATCH] docs: add tip about islands directory (#29913) --- docs/3.api/1.components/8.nuxt-island.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/3.api/1.components/8.nuxt-island.md b/docs/3.api/1.components/8.nuxt-island.md index cd715534f2..7bedd3db0b 100644 --- a/docs/3.api/1.components/8.nuxt-island.md +++ b/docs/3.api/1.components/8.nuxt-island.md @@ -41,6 +41,10 @@ Remote islands need `experimental.componentIslands` to be `'local+remote'` in yo It is strongly discouraged to enable `dangerouslyLoadClientComponents` as you can't trust a remote server's javascript. :: +::note +By default, component islands are scanned from the `~/components/islands/` directory. So the `~/components/islands/MyIsland.vue` component could be rendered with ``. +:: + ## Slots Slots can be passed to an island component if declared.