generator-mint-ionic v0.0.8
A Yeoman generator for Ionic Projects with Gulp
Installation
You should have Yeoman installed globally
npm install -g yoTo install generator-ionic-gulp from npm, run:
npm install -g generator-mint-ionicFinally, initiate the generator:
yo mint-ionicafter installation, just run:
gulp serveto start up the build job and file watchers.
In order to compile Sass, you need to have ruby and the sass ruby gem installed: gem install sass.
Workflow
This doc assumes you have gulp globally installed (npm install -g gulp).
If you do not have / want gulp globally installed, you can run npm run gulp instead.
Development mode
By running just gulp, we start our development build process, consisting of:
- compiling, concatenating, auto-prefixing of all
.scssfiles required byapp/styles/main.scss - linting all
*.jsfilesapp/scripts, see.jshintrcfor ruleset - automatically inject sources into
index.htmlso we don't have to add / remove sources manually - build everything into
.tmpfolder (also gitignored) - start local development server and serve from
.tmp - start watchers to automatically lint javascript source files, compile scss and reload browser on changes
Build mode
gulp buildEmulate
gulp emulate --arg 'android -lcs --device'Run
cordova platform add android
gulp run --arg 'android -lcs --device'splash screens and icons
gulp resourceChangelog
1.0.0
License
MIT
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
