title: what is the difference between event bus and mixins in vuejs
body: <p>Actually, I work in web app with vuejs as frontend framework.</p>
  
  <p>in a particular situation, I want to communicate two separate components.</p>
  
  <p>I know there are many ways to do that, especially with vuex that can help us to create a maintainable application.</p>
  
  <p>in my case, i found we can manipulate data between components by bus events and with mixins (by <code>$emit</code> and <code>$on</code> event) also.</p>
  
  <p>for that, i want to know :</p>
  
  <ol>
  <li>how bus events and mixin work exactly ?</li>
  <li>what is the difference between them ?</li>
  </ol>