Nuxt/examples/vuex-store/store/articles/comments/mutations.js

6 lines
72 B
JavaScript
Raw Normal View History

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