How to create pdf pdfmake with Vue 3 | Como crear pdf con pdfMake con Vue 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2022
  • pdfmake: pdfmake.org/#/
    Vite js: vitejs.dev/
    Repository: github.com/Jackelino/vue-pdf
    dev.to/jackelino

ความคิดเห็น • 9

  • @larieborellesiabou6937
    @larieborellesiabou6937 ปีที่แล้ว

    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?

  • @kaSstagnette
    @kaSstagnette 2 ปีที่แล้ว

    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.

    • @yanbatista2828
      @yanbatista2828 ปีที่แล้ว

      Have you discovered a solution?

    • @jackdev8684
      @jackdev8684  ปีที่แล้ว

      @@yanbatista2828 th-cam.com/video/zCALfqHgpzI/w-d-xo.html

    • @jackdev8684
      @jackdev8684  ปีที่แล้ว

      th-cam.com/video/zCALfqHgpzI/w-d-xo.html

  • @user-vg3qu1ku8w
    @user-vg3qu1ku8w 9 หลายเดือนก่อน

    "pdfMake" is not exported by "node_modules/pdfmake/build/vfs_fonts.js", imported by "component

    • @morris3648
      @morris3648 6 หลายเดือนก่อน

      same, i found the error when i try to build it, any solution ?

    • @morris3648
      @morris3648 6 หลายเดือนก่อน +1

      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;

    • @jcsegura6541
      @jcsegura6541 หลายเดือนก่อน

      @@morris3648 No funciona