Hi.i want to create a pdf,that takes informations from user input from a component and complete it in and then generate the pdf. And i don't know how i can do to make shore that the template is filled with user inputs from the form.can you help me?
i use this and it works import "pdfmake/build/vfs_fonts"; import pdfMake from "pdfmake/build/pdfmake"; pdfMake.vfs = window.pdfMake.vfs; window.pdfMake = pdfMake;
Hi.i want to create a pdf,that takes informations from user input from a component and complete it in and then generate the pdf. And i don't know how i can do to make shore that the template is filled with user inputs from the form.can you help me?
Hi !
Is it possible to use that to make the web page dowloadable ? I'm searching for a library that can do the job, working with vuejs.
Have you discovered a solution?
@@yanbatista2828 th-cam.com/video/zCALfqHgpzI/w-d-xo.html
th-cam.com/video/zCALfqHgpzI/w-d-xo.html
"pdfMake" is not exported by "node_modules/pdfmake/build/vfs_fonts.js", imported by "component
same, i found the error when i try to build it, any solution ?
i use this and it works
import "pdfmake/build/vfs_fonts";
import pdfMake from "pdfmake/build/pdfmake";
pdfMake.vfs = window.pdfMake.vfs;
window.pdfMake = pdfMake;
@@morris3648 No funciona