From bc995be0fbd1d9fce806a9280f91770d0d810675 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Mon, 30 Dec 2024 20:14:37 +0100
Subject: [PATCH] esecizio step 1  e step 2

---
 07 - development setup/cmp-communication-assignment-problem/src/main.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/07 - development setup/cmp-communication-assignment-problem/src/main.js b/07 - development setup/cmp-communication-assignment-problem/src/main.js
index df62453..2399ad9 100644
--- a/07 - development setup/cmp-communication-assignment-problem/src/main.js
+++ b/07 - development setup/cmp-communication-assignment-problem/src/main.js
@@ -1,6 +1,16 @@
 import { createApp } from 'vue'
 
-createApp({}).mount('#app')
+import App from "./App.vue";
+import ActiveUser from "./components/ActiveUser.vue";
+import UserData from "./components/UserData.vue";
+
+
+const app = createApp(App);
+
+app.component("active-user", ActiveUser);
+app.component("user-data", UserData);
+
+app.mount('#app')
 
 // Task 1: 
 // Add two components to the app: 

--
Gitblit v1.8.0