Cristiano Magro
2024-12-30 bc995be0fbd1d9fce806a9280f91770d0d810675
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: