generator-mint-ionic

0.0.8 • Public • Published

A Yeoman generator for Ionic Projects with Gulp

Installation

NPM

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 by app/styles/main.scss
  • linting all *.js files app/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

Readme

Keywords

Package Sidebar

Install

npm i generator-mint-ionic

Weekly Downloads

18

Version

0.0.8

License

MIT

Last publish

Collaborators

  • choiks14