09 - deeper into components/cmp-adv-01-starting-setup/src/components/BaseCard.vue
@@ -1,7 +1,9 @@ <template> <div> <header> <slot name="header"></slot> <header v-if="$slots.header"> <slot name="header"> <!-- <h2>Default Title </h2> --> </slot> </header> <slot></slot> </div> @@ -9,6 +11,9 @@ <script> export default { mounted() { console.log(this.$slots); } } </script>