diff --git a/app.js b/app.js index cd2b6ba..e9671d8 100644 --- a/app.js +++ b/app.js @@ -1,14 +1,11 @@ var app = new Vue({ el: '#app', data: { - title: "Hello World", - link: "https://google.com", - finishedLink: 'Google' + counter: 0 }, - methods: { - sayHello(){ - this.title = 'Hello'; - return this.title; + methods:{ + click(){ + this.counter++; } } }) diff --git a/index.html b/index.html index 2da3f6e..4cf4f04 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,8 @@