This is just a demo showcasing the pdf generator Cordova plugin
git clone https://github.com/cesarvr/pdf-generator-example sample
cd sample
cordova platform add ios android
For the web application I'm using Webpack and Backbone, is just a simple web app if you want to do some modifications you need to:
cd www/
npm install
npm webpack -g # if you don't have webpack.
webpack --watch
This will build automatically the source files and you can use your favorite static server to serve the www/ folder for example:
cordova serve
#or
cd www/ && python -m SimpleHTTPServer 8080
to run the app on the device:
cordova plugin add cordova-pdf-generator
cordova build #ios android
cordova run ios #android