#Create Pdf with nuxt

9 messages · Page 1 of 1 (latest)

gusty shadow
#

I am trying to generate PDFs with nuxt. I have tried to implement the different modules nuxtPdfMake, sideabse NuxtPdf but none really satisfy me and also I would like to have the possibility of using tailwind. Has anyone ever encountered this?

spark dew
#

I would really like a solution with easy integration as well, seems the Nuxt modules @sidebase/nuxt-pdf and nuxt-pdfeasy integrations are far behind or missing documentation/examples. I would love to see some insight on any type of Nuxt integration with either those or other options (e.g., jsPDF or html2pdf).

gusty shadow
#

I tried an integration with html2pdf but it's more an image than anything else

sick chasm
#

You should use jsPDF

spark dew
#

@sick chasm jsPDF gets me there, thanks for the suggestion. I just am struggling with some placement/sizing of components that I do not know how to fix.

sick chasm
#

can you please describe more specific so i can help you

gusty shadow
#

@sick chasm with jspdf can we make pdf with tailwind

sick chasm
#

@gusty shadow As far as i know we can't

gusty shadow
#

do you know a way to make pdf but with tailwind for style?