How to call action from another state file?

State is divided into the module, how to call using dispatch action specified in another file.
If you create the action in the same file, and call, then it works, but as with a modular architecture ?
Project nuxt.
dispatch('logger/logger'); - not working
dispatch('testAction'); - works
April 3rd 20 at 17:28
1 answer
April 3rd 20 at 17:30
Solution
dispatch('logger/logger', null, { root: true });

Find more questions by tags Vue.js