79343913

Date: 2025-01-09 20:14:55
Score: 1
Natty:
Report link

turns out you need special script to implement 'fallthrough slots'.

found it here https://github.com/orgs/vuejs/discussions/11004

<template v-for="(_, name) in $slots" #[name]="scope">
    <slot :name v-bind="scope ?? {}" />
</template>

as for emits, they work. primevue just has horrible typescript support

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Amereth