14 lines
184 B
JavaScript
14 lines
184 B
JavaScript
Vue.component('ts-cmp',{
|
|
data() {
|
|
return {
|
|
status: "Critical!",
|
|
};
|
|
},
|
|
template: '<p> Server status {{ status }} </p>'
|
|
});
|
|
|
|
var app = new Vue({
|
|
el: '#app',
|
|
|
|
});
|