Store implementation #61
-
Hi @ElMassimo — I am really really loving îles! Thanks so much for such a valuable contribution to the (Vue) ecosystem. Watching eagerly as it continues to evolve. I'd love to be able to use it in a larger e-commerce website, but was wondering whether there's any way to implement a store? I've just noticed the new Turbo mode, which I'm very excited about, and the roadmap that comes along with it regarding "permanent" components, but note that's not an available feature as of yet. Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
maybe with Pinea ? its recommended to use instead of vuex from Vue developpers |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: for a Since îles is based on Vue 3 and encourages you to use There's two different use cases for stores in îles: Using it only during generation
Sharing a store between islands
Because iles supports different frameworks, I still haven't decided on whether to provide out-of-the-box support, but I might provide an |
Beta Was this translation helpful? Give feedback.
Disclaimer: for a
larger e-commerce website
Nuxt 3 is likely a better fit.Since îles is based on Vue 3 and encourages you to use
script setup
, using Pinia should feel very natural.There's two different use cases for stores in îles:
Using it only during generation
enhanceApp
to add Vuex or Pinia to the appSharing a store between islands