vuejs dispatch other module action code example
Example: how to call action from another module vuex
// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })
// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })