// action from one moduleA to moduleB
dispatch('moduleB/actionName', parameters, { root:true })
//Then it look for the action name and execute the command
'Vue.js > Vuex' 카테고리의 다른 글
[Vuex] Modules (0) | 2022.05.13 |
---|---|
[Vuex] Actions (0) | 2022.05.13 |
[Vuex] Mutations (0) | 2022.05.13 |
[Vuex] Getters (0) | 2022.05.13 |
[Vuex] mapState (0) | 2022.05.13 |