Do we have a concept like slot component? #501
Unanswered
sawirricardo
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Absolutely. It's described in the docs at https://templ.guide/syntax-and-usage/template-composition |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
coming from vue, we have v-slot name="xxx"
then in child component, we fill that slot and automatically rendered to that part....
Something like this https://vuejs.org/guide/components/slots.html#named-slots
Do we have this in templ?
Beta Was this translation helpful? Give feedback.
All reactions