learnin-some-vue/app.js

13 lines
170 B
JavaScript
Raw Normal View History

2018-04-13 14:54:53 +00:00
var app = new Vue({
el: '#app',
data: {
2018-04-13 18:34:38 +00:00
link: 'https://tyrelsouza.com',
2018-04-13 14:56:49 +00:00
},
2018-04-13 18:27:33 +00:00
methods: {
2018-04-13 18:34:38 +00:00
changeLink(){
this.link = "https://tyrel.bike";
2018-04-13 18:27:33 +00:00
}
}
2018-04-13 14:54:53 +00:00
})