vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.63k stars 2.08k forks source link

how to setup vuex in v2? #6874

Closed askie closed 1 year ago

askie commented 1 year ago

Provide a description of requested docs changes

I find the v1 doc: https://docs.vuestorefront.io/v1/guide/vuex/introduction.html#vuex-conventions but can't find the v2 doc, How to develop vuex store on v2 theme?

Able to fix / change the documentation?

Code of Conduct

skirianov commented 1 year ago

Hi @askie 👋

Can you please ask this question on our Discord channel, our team and community will try to help you.


Sergii Kirianov Developer Advocate Vue Storefront

filrak commented 1 year ago

We don't use Vuex in v2 and don't recommend it but if you want to use it there is nothing stopping you from doing that. Please check the Nuxt guide https://nuxtjs.org/docs/directory-structure/store/