0👍
✅
You need to create a new instance of Vuex.Store(store).
Modify this block
new Vue({
render: h => h(App),
store: Vuex.Store(store)
}).$mount('#app')
to
new Vue({
render: h => h(App),
store: new Vuex.Store(store)
}).$mount('#app')
Source:stackexchange.com