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: