Nuxt/test/fixtures/basic/store/index.js

10 lines
121 B
JavaScript
Raw Normal View History

export const state = () => ({
counter: 1
})
export const mutations = {
2017-10-31 13:26:19 +00:00
increment(state) {
state.counter++
}
}