Open zengxiangqiu opened 4 years ago
...mapActions('todo', [ 'addItem', `]),
new Vuex.Store({ modules:{todo: { namespaced:true, state: ()=>({ items: [ { name: "Milk", done: false }, { name: "Bread", done: true }, { name: "Cake", done: false } ] }), ......
Can you elaborate?