Clone the repository:
git clone https://github.com/EliteXXL/cordova-riot-template
or simply download it zipped and unzip it wherever you want
- Enter the newly created folder
- Add whatever platforms you like to cordova
cordova platform add <platform>
- Code in folder
src
(the default entry point issrc/index.ts
) - Whenever you're ready run rollup
npx rollup -c
If you want to auto-run rollup during development run it in watch mode
npx rollup -c --watch
It will build cordova platforms every written bundle
- Enjoy ☻