vuex1 [vue] vuex: dispatch actions btw vuex modules? namespace? Is there a way to dispatch actions between two namespaced vuex modules? Search: vuex dispatch action from another module You just need to specify that you're dispatching from the root context: // from the gameboard.js vuex module dispatch('notification/triggerSelfDismissingNotifcation', {...}, {root:true}) Now when the dispatch reaches the root it will have the correct namespace path.. 2022. 7. 6. 이전 1 다음