Answers for "nested slots in vue"

0

nested slots in vue

<grand-child>
  <template v-for="(_, slot) in $slots">
    <template :slot="slot">
      <slot :name="slot"></slot>
    </template>
  </template>
</grand-child>
Posted by: Guest on September-15-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language