I want to use jsPDF.html to convert html page to pdf, and I\'m using this code:
savePdf () { var pdf = new jsPDF({u
The following two had fixed the issue:
// webpack configuration plugins: [ new webpack.ProvidePlugin({ html2canvas: 'html2canvas' }); ]
window["html2canvas"] = html2canvas;
even with out the first step its working.