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-first-app/src/App.vue | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/07 - development setup/vue-first-app/src/App.vue b/07 - development setup/vue-first-app/src/App.vue new file mode 100644 index 0000000..591a031 --- /dev/null +++ b/07 - development setup/vue-first-app/src/App.vue @@ -0,0 +1,26 @@ +<template> + <img alt="Vue logo" src="./assets/logo.png"> + <HelloWorld msg="Welcome to Your Vue.js App"/> +</template> + +<script> +import HelloWorld from './components/HelloWorld.vue' + +export default { + name: 'App', + components: { + HelloWorld + } +} +</script> + +<style> +#app { + font-family: Avenir, Helvetica, Arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-align: center; + color: #2c3e50; + margin-top: 60px; +} +</style> -- Gitblit v1.8.0