Closed bernlorbis closed 1 year ago
How to stream generated pdf file without downloading it
const pdf = usePDF() is a simple wrapper from import * as pdf from 'pdfmake/build/pdfmake';
const pdf = usePDF()
import * as pdf from 'pdfmake/build/pdfmake';
Therefore, you use pdf in the same way and with the same options as the regular package options.
pdf
How to stream generated pdf file without downloading it