From 8480d4ef05d995ee67c1460cf273c899fa59e89c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Sat, 28 Dec 2024 23:15:49 +0100 Subject: [PATCH] emitting custom event --- 07 - development setup/vue-cli-01-a-new-vue-project/src/main.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/07 - development setup/vue-cli-01-a-new-vue-project/src/main.js b/07 - development setup/vue-cli-01-a-new-vue-project/src/main.js new file mode 100644 index 0000000..ac37128 --- /dev/null +++ b/07 - development setup/vue-cli-01-a-new-vue-project/src/main.js @@ -0,0 +1,10 @@ +import { createApp } from "vue"; + +import App from "./App.vue"; +import FriendContact from "./components/FriendContact.vue"; + +const app = createApp(App); + +app.component("friend-contact", FriendContact); + +app.mount("#app"); -- Gitblit v1.8.0