This project was generated with Angular CLI version 12.2.7.
- jspdf version
1.3.4
- jspdf-Documentation
- html2pdf version
0.9.3
CDN Tem que manter a mesma versão 0.9.3
https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.min.js
npm install jspdf@1.3.4 --save
npm install html2pdf.js@0.9.3 --save
npm i
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.