Nuxt/test/fixtures/basic/store/index.js
2017-10-31 14:26:19 +01:00

10 lines
121 B
JavaScript
Executable File

export const state = () => ({
counter: 1
})
export const mutations = {
increment(state) {
state.counter++
}
}