Is there a way to dispatch actions between two namespaced vuex modules? : <p>Is it possible to dispatch an action between namespaced modules?</p>

<p>E.g. I have vuex modules "gameboard" and "notification". Each are namespaced. I would like to dispatch an action from the gameboard to the notification module. </p>

<p>I thought I could use the module name in the dispatch action name like this:</p>

<pre><code>// store/modules/gameboard.js
const actions = {
    myaction ({dispatch}) {
        ...
        dispatch('notification/triggerSelfDismissingNotifcation', {...})
    }
}

// store/modules/notification.js
const actions = {
    triggerSelfDismissingNotification (context, payload) {
        ...
    }
}
</code></pre>

<p>But when I try to do this I get errors that make me thing vuex is trying to dispatch an action within my gameboard module:</p>

<blockquote>
  <p>[vuex] unknown local action type: notification/triggerSelfDismissingNotification, global type: gameboard/notification/triggerSelfDismissingNotification</p>
</blockquote>

<p>Is there a way of dispatching from vuex module to module or do I need to create some kind of a bridge in the root vuex instance?</p>
