Adding store later after create project
Regarding this question https://forum.quasar-framework.org/topic/1953/adding-a-store-vuex-later I still don’t get the answer.
How to solve this problem properly instead of re-init new project like what I do if I want to init/add vuex store later (don’t get me wrong, it’s not
quasar new store store_name). Doing like what I did is non-sense
metalsadman last edited by
@samodraland no automated way atm, but you can just copy the boilerplate here https://quasar.dev/quasar-cli/vuex-store#Adding-a-Vuex-Module, then save it in the
@metalsadman I have tried before and all states in the store are undefined, except if I re-init project with included store