title: Vue Eventbus: handler.apply is not a function
body: <p>I want to reload one of my components when an other component changes (for example I send a put with axios)</p>
  
  <p>I tried it with eventbus but I got this error:</p>
  
  <blockquote>
    <p>handler.apply is not a function</p>
  </blockquote>
  
  <p>In the component where I want to trigger:</p>
  
  <pre><code>EventBus.$emit('compose-reload', Math.random()*100);
  </code></pre>
  
  <p>Where I want to be triggered:</p>
  
  <pre><code>&lt;template&gt;
      &lt;div class=""&gt;
  
          &lt;div class=""&gt;
              &lt;div class="columns"&gt;
                  &lt;div class="column is-one-fifth"&gt;
                      &lt;div class="box"&gt;
                          &lt;Menu&gt;&lt;/Menu&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="column is-four-fifth"&gt;
                      &lt;div class="box"&gt;
                          &lt;router-view :key="key"&gt;&lt;/router-view&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  &lt;script&gt;
      import Menu from './includes/Menu'
  
      import EventBus from '../../../event-bus';
  
      export default {
  
          components: {
              Menu,
          },
          data() {
              return {
                  key: null
              }
          },
          mounted(){
              EventBus.$on('compose-reload', this.key);
          },
          created(){
              this.key = Math.random()*100
          }
      }
  &lt;/script&gt;
  </code></pre>