Nuxt/examples/vuex-store/store/articles/comments/mutations.js
2019-02-19 09:35:51 +00:00

6 lines
72 B
JavaScript

export default {
add(state, title) {
state.list.push(title)
}
}