I want to create a new vuejs component in Solara that will wrap children.
I was hoping the children components will render in the default slot of the component, but this did not happen.
How can you make the children
components to render inside the vue component?
Example of (not working) code:
<template>
<div style="background:red; padding:15px">
I was expecting children to be below:<br>
<slot />
</div>
</template>
<script>
export default { }
</script>
@solara.component_vue("wrapper-cont.vue")
def WrapperCont():
pass
@solara.component
def Page():
with WrapperCont():
solara.MarkDown("child 1")
solara.MarkDown("child 2")