Answers for "how to despatch action to the module in vuex"

4

how to call action from another module vuex

// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })
Posted by: Guest on May-29-2020

Code answers related to "how to despatch action to the module in vuex"

Code answers related to "Javascript"

Browse Popular Code Answers by Language