From 30fe86ba1cbc023ae26429977a7e71304805fe86 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Fri, 27 Dec 2024 08:59:22 +0100
Subject: [PATCH] template

---
 05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js
index 89bb668..a4b815b 100644
--- a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js
+++ b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/app.js
@@ -1,8 +1,8 @@
 const app = Vue.createApp({
   data() {
     return {
-      currentUserInput: '',
-      message: 'Vue is great!',
+      currentUserInput: "",
+      message: "Vue is great!",
     };
   },
   methods: {
@@ -15,17 +15,20 @@
   },
 });
 
-app.mount('#app');
+app.mount("#app");
 
 const app2 = Vue.createApp({
   data() {
     return {
-      favoriteMeal:'pizza',
+      favoriteMeal: "pizza!!",
     };
   },
   computed: {},
   watch: {},
   methods: {},
+  template: `
+    <p>{{ favoriteMeal }}</p>
+  `,
 });
 
-app2.mount("#app2");
\ No newline at end of file
+app2.mount("#app2");

--
Gitblit v1.8.0