0.0.8 • Published 9 years ago
generator-mint-ionic v0.0.8
A Yeoman generator for Ionic Projects with Gulp
Installation
You should have Yeoman installed globally
npm install -g yo
To install generator-ionic-gulp from npm, run:
npm install -g generator-mint-ionic
Finally, initiate the generator:
yo mint-ionic
after installation, just run:
gulp serve
to 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
.scss
files required byapp/styles/main.scss
- linting all
*.js
filesapp/scripts
, see.jshintrc
for ruleset - automatically inject sources into
index.html
so we don't have to add / remove sources manually - build everything into
.tmp
folder (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 build
Emulate
gulp emulate --arg 'android -lcs --device'
Run
cordova platform add android
gulp run --arg 'android -lcs --device'
splash screens and icons
gulp resource
Changelog
1.0.0
License
MIT
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago
1.0.10
9 years ago
1.0.9
9 years ago
1.0.8
9 years ago
1.0.7
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago