store commit increment console log store state count

1
2
store.commit('increment')
console.log(store.state.count) // -> 1