From eb387dbd90a2a891ee5ee4458e32cccb460fd9b1 Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 06 Jan 2025 18:15:48 +0100 Subject: [PATCH] first components e props --- 09 - deeper into components/cmp-adv-04-named-slots/src/main.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/09 - deeper into components/cmp-adv-04-named-slots/src/main.js b/09 - deeper into components/cmp-adv-04-named-slots/src/main.js new file mode 100644 index 0000000..23a57d1 --- /dev/null +++ b/09 - deeper into components/cmp-adv-04-named-slots/src/main.js @@ -0,0 +1,12 @@ +import { createApp } from 'vue'; + +import App from './App.vue'; +import BaseBadge from './components/BaseBadge.vue'; +import BaseCard from './components/BaseCard.vue'; + +const app = createApp(App); + +app.component('base-badge', BaseBadge); +app.component('base-card', BaseCard); + +app.mount('#app'); -- Gitblit v1.8.0