From 30949bb4a4b22fef5119f04c3e3276c42aaab085 Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Sun, 05 Jan 2025 17:22:15 +0100 Subject: [PATCH] named slot --- 09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue b/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue index 2a09d2b..6b5531d 100644 --- a/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue +++ b/09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue @@ -1,5 +1,8 @@ <template> <div> + <header> + <slot name="header"></slot> + </header> <slot></slot> </div> </template> -- Gitblit v1.8.0