Is there any easy way to generate PDF from html in Nuxt.js?

Please help.
4 Replies
less
less3w ago
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
Daniel Hill
Daniel Hill3w ago
No description
Jacek
Jacek3w ago
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?
Daniel Hill
Daniel Hill3w ago
I use preline in my nuxt websites. Feel free to take a look on my profile. https://github.com/dhillweb
Want results from more Discord servers?
Add your server