npm install -g bower
npm install
ionic state restore
bower install
ionic setup sass
BUILD_TARGET=development gulp config
where xxx
is one of development
, staging
, or production
. This command copies config from the /config.js
and /local_config.js
files. Only config matching the given build target (or lying outside an @if block) is copied.ionic serve
ionic state restore # Only if plugins or platforms may have changed
ionic run <android|ios>
ionic plugin add
, not cordova plugin add
ionic plugin add cordova-plugin-audio-recorder-api@0.0.6
.#
instead.ionic plugin list
, remove, and then add versioned.npm rebuild
gulp sass
karma start
ionic serve