Friday 5 May 2017

Intergrate pdfmake library with angularjs running with nodejs inside electron client

I need to intergrate pdfmake library where i installed the pdfmake using

npm install pdfmake --save

I got the module inside node_modules and i have included the library to the app.js but in runtime im getting an error with the pdfmake font js (vfs_styles.js) seems like the app hasnt included the fonts js file.

Is there any solution on how to include the fonts js file. This library solves all my requirments on pdf making including export, preview and print features.



via Sherantha Perera

No comments:

Post a Comment