Using vue libraries with ipyvuetify & solara
Is it naive to think vuepdf should work out of the box with a ipyvuetify template?
I've stripped the code to its bare minimum, it should show a single pdf page from the url. My code isnt showing errors but it also isn't showing a pdf.
vue_pdf.vue
vue_pdf.js
2 Replies
vue-pdf docs are here:
https://tato30.github.io/vue-pdf/examples/basic/one_page.html
One page | VuePDF
PDF component for Vue 3
The ES imports would only work with ipyvue3 and ipyvuetify3, there are alpha releases for those, and solara does work with it (although not all components). I would say, this is work in progress. Instead of ES imports, you can take a look at how we do it in the solara repo with external dependencies, such as the altair/vegalite component for instance