The most sweetest syntax for Ionic.
- jade for HTML
- Sass for CSS
- Coffeescript for JavaScript
- Gulp for building automation
CSS vendor prefixes handled by autoprefixer.
All source files stored in src
directory.
Source compiled to www
directory.
Install all node and bower dependencies, restore Ionic state, add Ionic hooks and Cordova plugins, regenerate application icon and splash screen, and finally compile source.
$ npm install -g cordova ionic
$ npm install
$ npm run prepare
gulp
to compile and watch HTML5 files
gulp build
to build an Xcode projectgulp rebuild
to clean up all dependencies and rebuild project from scratch
- work in progress
ionic serve
to compile application for browser and start dev serverionic emulate
to compile application for emulator and start it