Missing requirements from the Vuex Store docs?
[issue link]I just followed the instructions to Activate the Store, and it is not working for me. {{ $store.state.counter }} returns empty and @click="$store.commit('increment')" returns the error “unknown mutation type: increment”. Is there a minimum Nuxt version for this to work (I’m using 0.10.7). If not, what am I missing?
To be clear, the steps I have taken are to:
- Create
store/index.js - Add the example template code