-2👍
In your entry point, that you import Vuex. Add this:
import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)
Remember install dependences
Source:stackexchange.com
-2👍
In your entry point, that you import Vuex. Add this:
import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)
Remember install dependences