From 0ff501d4aa28b64a11a3d9a6101e3f997a9e9795 Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Tue, 07 Jan 2025 18:29:08 +0100 Subject: [PATCH] teleport per spostare il dialog in una posizione consona nel DOM --- 10 - course project/xno-prj-cmp-01-starting-setup/src/main.js | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/10 - course project/xno-prj-cmp-01-starting-setup/src/main.js b/10 - course project/xno-prj-cmp-01-starting-setup/src/main.js index 419fa69..bc89692 100644 --- a/10 - course project/xno-prj-cmp-01-starting-setup/src/main.js +++ b/10 - course project/xno-prj-cmp-01-starting-setup/src/main.js @@ -1,5 +1,15 @@ import { createApp } from 'vue'; import App from './App.vue'; +import BaseCard from './components/UI/BaseCard.vue'; +import BaseButton from './components/UI/BaseButton.vue'; +import BaseDialog from './components/UI/BaseDialog.vue'; -createApp(App).mount('#app'); +const app = createApp(App); + +app.component('base-card', BaseCard); +app.component('base-button', BaseButton); +app.component('base-dialog', BaseDialog); + +app.mount('#app'); + -- Gitblit v1.8.0