actions:{ get1: ({ commit, dispatch }) => { dispatch('get2'); }, get2: ({commit}) => { //things }, }
// action from one moduleA to moduleB dispatch('moduleB/actionName', payload, { root:true })