Posted 11 March 2024, 1:28 pm EST
I followed the instructions at https://developer.mescius.com/blogs/wijmo-in-vue-3
and was able to mostly get things working. There is an issue that I’m running into though.
It seems that anywhere that wijmo takes over rendering (using the slot API), the app context is lost.
<wj-menu :itemsSource="menuList">
<wj-item-template v-slot="ctx">
<router-link :to="ctx.item.path"> {{ctx.item.header}} </router-link>
</wj-item-template>
</wj-menu>
In Vue3, this code breaks because the router-link has no access to the router context that is set up with the app.
I’m encountering the same issue with the flex grid detail.
Is there a known workaround?