pdfmake icon indicating copy to clipboard operation
pdfmake copied to clipboard

Generating PDFs in the browser does not work anymore with latest version

Open AuspeXeu opened this issue 8 months ago • 1 comments
trafficstars

Image

import pdfMake from 'pdfmake/build/pdfmake'
import pdfFonts from 'pdfmake/build/vfs_fonts'
pdfMake.addFonts(pdfFonts)
[...]
const res = pdfMake.createPdf(docDef) // works
res.download(fname) // throws

AuspeXeu avatar Feb 27 '25 07:02 AuspeXeu