Skip to content

Commit 9e4ad92

Browse files
feat: add PDF export for DevCard (issue #615)
- Add useExportPDF hook using html2canvas + jsPDF - Support US (3.5x2in) and EU (85x55mm) business card sizes - Add Export as PDF buttons on CardPage below connections - Filename auto-generated as DevCard_<Name>.pdf
1 parent 4a010b6 commit 9e4ad92

5 files changed

Lines changed: 2786 additions & 0 deletions

File tree

apps/web/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"test": "vitest run"
1212
},
1313
"dependencies": {
14+
"html2canvas": "^1.4.1",
15+
"jspdf": "^4.2.1",
1416
"react": "^19.2.6",
1517
"react-dom": "^19.2.6",
1618
"react-router-dom": "^7.6.2"

0 commit comments

Comments
 (0)