From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/main.js | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/main.js b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/main.js new file mode 100644 index 0000000..55eef5d --- /dev/null +++ b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/main.js @@ -0,0 +1,16 @@ +import { createApp } from 'vue'; + +import App from './App.vue'; +import ActiveElement from './components/ActiveElement.vue'; +import KnowledgeBase from './components/KnowledgeBase.vue'; +import KnowledgeElement from './components/KnowledgeElement.vue'; +import KnowledgeGrid from './components/KnowledgeGrid.vue'; + +const app = createApp(App); + +app.component('active-element', ActiveElement); +app.component('knowledge-base', KnowledgeBase); +app.component('knowledge-element', KnowledgeElement); +app.component('knowledge-grid', KnowledgeGrid); + +app.mount('#app'); -- Gitblit v1.8.0