Vue.component('ts-cmp',{ data() { return { status: "Critical!", }; }, template: '

Server status {{ status }}

' }); var app = new Vue({ el: '#app', });