jsPDF server side (node.js) usage using node-jspdf

前端 未结 5 525
眼角桃花
眼角桃花 2020-12-10 16:38

I am actually trying to include jspdf in server side and then use it for simple pdf generation(simply the text \"Hello world!\")(Go to the url- get the pdf localhost:8080).

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 17:09

    Node-jspdf mainly uses library jsPDF as the core library to render PDF file

    but node-jspdf can only be installed on *unix system therefore you can download and install jsPDF manually by following steps in this file

    I think you only need to install jsPDF to work with PDF file.

提交回复
热议问题