Emit data in Vue.js