-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed as not planned
Description
Vue version
3.2.37
Link to minimal reproduction
https://codepen.io/sarkiroka/pen/mybyVNG?editors=1010
Steps to reproduce
When I call useSlots().default function (to get how many slot used), the scoped slots stops work.
working example: https://codepen.io/sarkiroka/pen/ZYzYOBR?editors=1010
don't working example: https://codepen.io/sarkiroka/pen/mybyVNG?editors=1010
My goal is get the count of the default slots.
const slots=useSlots();
const countOfSlots = slots.default().length;
What is expected?
Work properly
What is actually happening?
Don't work
System Info
No response
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
No labels