From 54fa9ce0b04d19760c336b1cbf38d7d9e84e0413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Sat, 9 Nov 2019 20:40:47 +0100 Subject: [PATCH] event --- hello/app.js | 3 ++- hello/index.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hello/app.js b/hello/app.js index 62fea48..b50fed1 100644 --- a/hello/app.js +++ b/hello/app.js @@ -16,7 +16,8 @@ var app = new Vue({ ], label: 'You loaded this page on ' + new Date().toLocaleString(), isActive: true, - hasError: false + hasError: false, + counter: 0 }, methods: { reverseMessage: function () { diff --git a/hello/index.html b/hello/index.html index e82a705..9214930 100644 --- a/hello/index.html +++ b/hello/index.html @@ -30,6 +30,8 @@ {{ lenMessage }}

class

+ +