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-06-scoped-slots/src/components/TheHeader.vue | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/09 - deeper into components/cmp-adv-06-scoped-slots/src/components/TheHeader.vue b/09 - deeper into components/cmp-adv-06-scoped-slots/src/components/TheHeader.vue new file mode 100644 index 0000000..aeace6e --- /dev/null +++ b/09 - deeper into components/cmp-adv-06-scoped-slots/src/components/TheHeader.vue @@ -0,0 +1,21 @@ +<template> + <header> + <h1>More on Vue Components</h1> + </header> +</template> + +<style scoped> + header { + width: 100%; + height: 5rem; + display: flex; + justify-content: center; + align-items: center; + background-color: #14005e; + } + + header h1 { + color: white; + margin: 0; + } +</style> \ No newline at end of file -- Gitblit v1.8.0