title: After the update vuejs - stopped listening to events
body: <ul>
  <li>vuejs-2.5.13 </li>
  <li>Laravel Framework 5.4.36 </li>
  <li>MacOS10.13.3</li>
  </ul>
  
  <p>This is mine <strong>event-bus.js</strong></p>
  
  <pre><code>import Vue from 'vue';
  
  export const EventBus = new Vue();
  </code></pre>
  
  <p>Event created in <strong>mediaSelectButton.js</strong></p>
  
  <pre><code>&lt;template&gt;
      &lt;router-link :to="'/' + name + '/criterias'" v-on:click.native="selected" class="btn btn-success btn-md col-xs-12"&gt;
          Выбрать
      &lt;/router-link&gt;
  &lt;/template&gt;
  &lt;script&gt;
  
      import { EventBus } from '../../additional/event-bus.js';
  
      export default {
          props: {
              name: {
                  type: String,
                  required: true
              },
  
              media: {
                  type: String,
                  required: true
              },
  
              countLikes: {
                  type: Number,
                  required: true
              },
  
              countComments: {
                  type: Number,
                  required: true
              },
  
              text: {
                  type: String
              },
  
              hashTags: {
                  type: Array
              }
  
          },
          data: ()=&gt;  {
              return {
              }
          },
          methods: {
              selected:  function () {
                  const result = {
                      media: this.media,
                      socialName: this.name,
                      text: this.text,
                      hashTags: this.hashTags,
                      countLikes: this.countLikes,
                      countComments: this.countComments
                  };
                  EventBus.$emit('selected-media', result);
              }
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>This event listens <strong>table.js</strong> component</p>
  
  <pre><code>&lt;script&gt;
      import { EventBus } from '../../additional/event-bus';
  
      export default {
          data: () =&gt; {
              return {
                  likeIcon: require('./likeHeart.svg'),
                  commentIcon: require('./comment.svg'),
                  countLikes: 0,
                  countComments: 0,
                  selectedMedia: '',
                  socialName: '',
                  text: '',
                  hashTags: [],
                  criteriasList: [],
                  pendingRequest: true,
                  hashTagChecked: false
              }
          },
          beforeRouteEnter(to, from, next){
              if (/^\/\w+\/medies(\/)?$/.test(from.path) || /^\/\w+\/roulette(\/)?$/.test(from.path)) {
  
                  next();
              } else {
                  next('/');
              }
          },
  
          methods: {
              goBack() {
                  this.$route.meta.navBack = true;
                  window.history.length &gt; 1
                          ? this.$router.go(-1)
                          : this.$router.push('/')
              },
              criterias(data) {
                  axios.post('/api/table/get', {
                      social: data
                  })
                          .then(response =&gt; {
                              this.pendingRequest = false;
                              this.criteriasList = response.data;
                          })
                          .catch(e =&gt; {
                              this.$router.push('/');
                          });
              }
          },
          created: () =&gt; {
              EventBus.$on('selected-media', result =&gt; {
                  console.log(result) // &lt;-- fail here!
                  this.selectedMedia = data.media;
                  this.socialName = data.socialName;
                  this.text = data.text;
                  this.hashTags = data.hashTags;
                  this.countLikes = data.countLikes;
                  this.countComments = data.countComments;
                  this.criterias(this.socialName);
              })
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Problem:</strong> Data in event <em>selected-media</em> uses <strong>created</strong> huck does not come</p>
  
  <p>However, if i listen to the event in <strong>beforeRouteEnter</strong> </p>
  
  <p><strong>example:</strong></p>
  
  <pre><code>beforeRouteEnter(to, from, next){
              if (/^\/\w+\/medies(\/)?$/.test(from.path) || /^\/\w+\/roulette(\/)?$/.test(from.path)) {
                  EventBus.$on('selected-media', result =&gt; {
                      console.log(result); // &lt;--- It's work!
  
                  });
                  next();
              } else {
                  next('/');
              }
          },
  </code></pre>
  
  <p>That all works as it is necessary.
  Please tell me where is the error here, me nedded it to work in huck <strong>created</strong>.</p>