4 Replies
Maybe you can use PDFjs, or according to sidebase/nuxt-pdf, you can use their composables to generate the PDF from HTML :
https://github.com/sidebase/nuxt-pdf/tree/main/src/runtime/composables
One image replaces thousand words. Even links, I suppose.
https://preline.co/docs/datatables.html#export
Using a different library under the hood. Does not seem reusable outside of the given use case. And overall is hardly related or supported in Vue ecosystem. @Daniel Hill is this a joke? Or do you actually use it in your Nuxt app?
I use preline in my nuxt websites. Feel free to take a look on my profile.
https://github.com/dhillweb