How to call another module action from a module?
See original GitHub issueSay I have 2 modules A and B. How can I call an action of module B from an action of module A?
It would be easy if I can access context
though.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Is there a way to dispatch actions between two namespaced ...
E.g. I have Vuex modules "gameboard" and "notification". Each are namespaced. I would like to dispatch an action from the gameboard module ......
Read more >Dispatch an action in another Vuex module - Koen Woortman
In order to call an action in a different Vuex module you need to pass {root: true} as the third argument of the...
Read more >Vuex - Access module action from a module's action - Get Help
I'm trying to call a dispatch inside module (cart-module) from an action in module (auth-module) and I get this error
Read more >Can we pull service method to other module? - OutSystems
Hi Ajit,. you can call a service action from another module in the same environment. A service action is a REST based call,...
Read more >call action from another module vuex - Code Grepper
action from one moduleA to moduleB dispatch('moduleB/actionName', payload, { root:true })
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erathorus I can’t see any example in that repo of one module action calling another module action - just references to
this.context
. Is that what you are referring to?I am expecting to see something like this:
Checkout https://gitlab.com/lattetalk/lattetalk-web