Option to automatically forward slots to children #10965
tlloydthwaites
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
In the meantime, this might help: https://github.com/evo-mark/vue-forward-slots |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to discussion #5962.
I frequently find myself pasting this incantation:
When creating an outer component where you need to pass slots to a deep child, this becomes tedious.
Just like components can automatically inherit attributes, it would be handy if slots could be passed down like this (disabled with
inheritSlots: false
), and explicitly bound withv-slots="$slots"
.I'm thinking:
one.vue:
Beta Was this translation helpful? Give feedback.
All reactions