15 lines
262 B
JavaScript
15 lines
262 B
JavaScript
var app = new Vue({
|
|
el: '#app',
|
|
data: {
|
|
title: "Hello World",
|
|
link: "https://google.com",
|
|
finishedLink: '<a href="http://google.com/">Google</a>'
|
|
},
|
|
methods: {
|
|
sayHello(){
|
|
this.title = 'Hello';
|
|
return this.title;
|
|
}
|
|
}
|
|
})
|