2019-02-01 13:02:41 +00:00
|
|
|
export const state = () => ({
|
|
|
|
counter: 0
|
|
|
|
})
|
2016-11-07 19:57:44 +00:00
|
|
|
|
2019-02-01 13:02:41 +00:00
|
|
|
export const mutations = {
|
2019-07-10 10:45:49 +00:00
|
|
|
increment (state) {
|
2019-02-01 13:02:41 +00:00
|
|
|
state.counter++
|
|
|
|
}
|
2017-05-21 00:03:11 +00:00
|
|
|
}
|