vuex use action from another module 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 })