title: How should I handle events in Vuex?
body: <p>I am used to using a global event bus to handle cross-component methods. For example:</p>
  
  <pre><code>var bus = new Vue();
  ...
  //Component A
  bus.$emit('DoSomethingInComponentB');
  ...
  //Component B
  bus.$on('DoSomethingInComponentB', function(){ this.doSomething() })
  </code></pre>
  
  <p>However, I am building a larger project, which requires global state management. Naturally, I want to use Vuex.</p>
  
  <p>While this bus pattern works with Vuex, it seems wrong. I have seen Vuex recommended as a <strong>replacement</strong> for this pattern.</p>
  
  <p>Is there a way to run methods in components from Vuex? How should I approach this?</p>