12 lines
142 B
JavaScript
12 lines
142 B
JavaScript
var app = new Vue({
|
|
el: '#app',
|
|
data: {
|
|
title: "Hello world."
|
|
},
|
|
methods: {
|
|
sayHello(){
|
|
return this.title;
|
|
}
|
|
}
|
|
})
|