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.
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.
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.