From 54574e680e5cbaca947800590d8dac238bd559c2 Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:46:59 +0100 Subject: [PATCH] alternativa ai components globals --- 09 - deeper into components/cmp-adv-01-starting-setup/src/main.js | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/09 - deeper into components/cmp-adv-01-starting-setup/src/main.js b/09 - deeper into components/cmp-adv-01-starting-setup/src/main.js index 63c7e85..fd9f70c 100644 --- a/09 - deeper into components/cmp-adv-01-starting-setup/src/main.js +++ b/09 - deeper into components/cmp-adv-01-starting-setup/src/main.js @@ -1,16 +1,11 @@ import { createApp } from 'vue'; import App from './App.vue'; -import TheHeader from './components/TheHeader.vue'; import BaseBadge from './components/BaseBadge.vue'; -import BadgeList from './components/BadgeList.vue'; -import UserInfo from './components/UserInfo.vue'; + const app = createApp(App); -app.component('the-header', TheHeader); app.component('base-badge', BaseBadge); -app.component('badge-list', BadgeList); -app.component('user-info', UserInfo); app.mount('#app'); -- Gitblit v1.8.0