14 lines
201 B
JavaScript
14 lines
201 B
JavaScript
var app = new Vue({
|
|
el: '#app',
|
|
data: {
|
|
title: "Hello World",
|
|
link: "https://google.com"
|
|
},
|
|
methods: {
|
|
sayHello(){
|
|
this.title = 'Hello';
|
|
return this.title;
|
|
}
|
|
}
|
|
})
|