Skip to content

devhonorato/gerador-pdf-angular-12

Repository files navigation

PDFGenerator

This project was generated with Angular CLI version 12.2.7.

Reference

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

Installation

npm install jspdf@1.3.4 --save

npm install html2pdf.js@0.9.3 --save

npm i

Development server

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.