Jspdf-autotable: Angular 6 Support

Created on 25 Jul 2018  路  2Comments  路  Source: simonbengtsson/jsPDF-AutoTable

I haven't been able to get this library to work on Angular 6. Has anyone else had any luck or willing to give any instructions? Other guides mentioned adding a couple of lines in the angular-cli.json file but that file doesn't exist on Angular 6 so I'm not sure where those lines should be added instead.

Most helpful comment

You could add those lines on angular.json file,

"scripts": ["node_modules/jspdf/dist/jspdf.min.js", "node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.js"]

And then follow the instructions on the readme file.

All 2 comments

You could add those lines on angular.json file,

"scripts": ["node_modules/jspdf/dist/jspdf.min.js", "node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.js"]

And then follow the instructions on the readme file.

Closing since @imanshu15 solution should work. Will update docs for v3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

azakordonets picture azakordonets  路  5Comments

ultra2 picture ultra2  路  6Comments

dnlbaldwin picture dnlbaldwin  路  6Comments

tapz picture tapz  路  3Comments

andrico1234 picture andrico1234  路  5Comments