how to call action from another module vuex

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

Also in JavaScript: