From 529fa4e74aa90a1d2ef7019db434ccbf39e4439e Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 18 Jan 2021 21:50:32 +0100 Subject: [PATCH] lesson 31: v-on and v-bind shorthand --- basics-05-using-the-native-event-object/app.js | 1 + basics-05-using-the-native-event-object/index.html | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/basics-05-using-the-native-event-object/app.js b/basics-05-using-the-native-event-object/app.js index 2b0e2c7..116af99 100644 --- a/basics-05-using-the-native-event-object/app.js +++ b/basics-05-using-the-native-event-object/app.js @@ -5,6 +5,7 @@ const app = Vue.createApp({ name: "", lastName: "", // fullName: "", + vueUrl: "https://vueproject.com", }; }, watch: { diff --git a/basics-05-using-the-native-event-object/index.html b/basics-05-using-the-native-event-object/index.html index 4317e63..090d596 100644 --- a/basics-05-using-the-native-event-object/index.html +++ b/basics-05-using-the-native-event-object/index.html @@ -12,17 +12,17 @@ -
-

Vue Events

-
+
+

Vue Events

+

Events in Action

- - + +

Result: {{ counter }}

- +

Your Name: {{ fullName }}