Nuxt/test/fixtures/basic/store/index.js
2017-10-28 23:36:14 +02:00

10 lines
122 B
JavaScript
Executable File

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