Skip to content

Cascading wrapper components in Vue 3 #6341

Answered by tony19
straurob asked this question in Help/Questions
Discussion options

You must be logged in to vote

Yes, it's necessary to repeat the v-bind="$attrs" and the slot template at each level of nesting if you want to continue forwarding the attrs/slots to the inner components.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@straurob
Comment options

Answer selected by straurob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants