how to call action from another module vuex
snippet in javascript

how to call action from another module vuex

user5432

// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })