Newer
Older
sample-vue-slot / src / components / MyTitle.vue
yhornisse on 11 Aug 2021 129 bytes add sample
<template>
  <h1>
   <slot></slot>
  </h1>
</template>
<style scoped>
h1 {
  background-color: black;
  color: white;
}
</style>