Code Example of Cordova and Ionic Framework
- Install latest version of NodeJS (5.3.0): ** download from https://nodejs.org/en/**
- Update to latest NPM (3.5.2): npm install -g npm
- Install latest ionic & cordova globally: npm install -g ionic cordova
- Install package dependencies: (from root folder) npm install
Open 2 separate terminal instances
- npm run dev (builds sass and runs ionic dev server)
- npm run watch (watches file system for scss changes)
Note:
To prevent CORS issues during development, use chrome and the following extension: https://chrome.google.com/webstore/detail/nlfbmbojpeacfghkpbjhddihlkkiljbi?utm_source=chrome-app-launcher-info-dialog