+ Start a Discussion
Law KumarLaw Kumar 

How to generate PDF from Lightning Web Component?

How to generate PDF from Lightning Web Component HTML file?
Hi All,
We are building a Lightning Web Component with HTML content. We tried using jsPDF and couple of other Javascript libraries, but they doesn't seem to be locker complaint and hence we are not able to generate.

Generating via VF page is not something we want to do.

So can you please help with any pointers/suggestions on how to generate the PDF from LWC?

Thanks in advance!
Advanced PDF is the best option in VF. LWC is not supporting out of the box currently.
Magulan Duraipandian
Law KumarLaw Kumar