[Vuejs]-Vuex module namespace not found in mapActions(): taskModule/?

0👍

Since you have a module you need to change :

export default createStore({
  state: {    
    taskModule
  },
})

To :

export default createStore({
  modules: {    
    taskModule
  },
})

https://next.vuex.vuejs.org/guide/modules.html

Leave a comment