0👍
✅
You need to instantiate the Vuex store via new Vuex.Store({...})
(I would expect your code to throw an error, but apparently not.)
Also, you don’t need the Vue.use(Vuex)
line.
Source:stackexchange.com