NuxtN
Nuxt13mo ago
Sun

Island component: share server data to client side

Et there,

I need to implement a component with a server side data fetching. To ensure it, I found the concept of island components.

But, I don't find a way to share those data with a client's children (or a client part of the component?).

In the doc, I read this https://nuxt.com/docs/guide/directory-structure/components#paired-with-a-client-component but the usage of shared elements between .server and .client seems to be not documented yet...

Is it possible? How can I do it?

Many thanks in advance
Nuxt
The components/ directory is where you put all your Vue components.
Was this page helpful?