We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So I found a problem with my implementation of passing wrappers to slots (#93). I've tried investigating the cause but I've come up empty so far.
When doing this, the component renders correctly (calling .html() for example), but wrapper.instance().$children is an empty array.
.html()
wrapper.instance().$children
const slotWrapper = mount(PropsComponent, { propsData: { prop1: 'asd', }, }); const wrapper = mount(SlotChild, { slots: { default: [slotWrapper] } });
Doing this however, populates the $children array correctly.
$children
const vm = new Vue({}); const wrapper = mount(SlotChild, { slots: { default: [ { vNode: vm.$createElement(PropsComponent, { props: { prop1: 'asd' } }) } ] } });
The text was updated successfully, but these errors were encountered:
Did you get any further with this? It would be good to get a solution - but I'm not sure when I'll have time to look into it.
Sorry, something went wrong.
Unfortunately I have not had time to look into this further either.
No branches or pull requests
So I found a problem with my implementation of passing wrappers to slots (#93). I've tried investigating the cause but I've come up empty so far.
When doing this, the component renders correctly (calling
.html()
for example), butwrapper.instance().$children
is an empty array.Doing this however, populates the
$children
array correctly.The text was updated successfully, but these errors were encountered: