Vue.component('my-component', { props: ['title'], template: `

{{title}}ddd{{message}}

`, data: function(){ return {message: 'helloa'} }, methods: { show() { alert(); } } })