Nuxt/examples/vuex-store/store/mutations.js
2017-10-31 21:43:55 +08:00

8 lines
93 B
JavaScript

const mutations = {
increment(state) {
state.counter++
}
}
export default mutations