So, how can I fix this error?
CodePudding user response:
You can use const { jsPDF } = window.jspdf;
as shown in the official documentation if you want to use the CDN.
Even tho, I still do recommend the NPM package way (so does the package itself).