Macro implementation of the JSX plugin's v-slots
directive
#638
craigrileyuk
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Forwarding slots from one component to the next inside the
<template>
is always a bit of a pain. The Vue JSX plugin has a great directive calledv-slots
which enables you to forward slots in two words.Would be great to get a usable version of this available for experimental use. Great outline for how it could work here: vuejs/core#575 (comment)
Proposal
will forward any slots sent to
Wapper.vue
toSomeComponent
and overwrite any manually defined ones (such as "#foo").Beta Was this translation helpful? Give feedback.
All reactions