Wednesday, 20 September 2017

Ionic Commands - Build, Generate, Serve, Start and Others

You can also see the list on the commands by using below command on Node.js Command prompt.

 ionic --help

Here is a full list of Ionic commands.

Command Description
start Create a new project
generate Generate pipes, components, pages, directives, providers, and tabs (ionic-angular >= 3.0.0)
serve Start a local dev server for app dev/testing
build Build web assets and prepare your app for any platform targets
docs Open the Ionic documentation website
info Print system/environment info
link Connect your local app to Ionic
login Login with your Ionic ID
signup Create an Ionic account
telemetry Opt in and out of telemetry
upload Upload a new snapshot of your app
config get Print config values
config set Set config values
cordova build Build (prepare + compile) an Ionic project for a given platform
cordova compile Compile native platform code
cordova emulate Emulate an Ionic project on a simulator or emulator
cordova platform Manage Cordova platform targets
cordova plugin Manage Cordova plugins
cordova prepare Copies assets to Cordova platforms, preparing them for native builds
cordova resources Automatically create icon and splash screen resources
package build Start a package build
package download Download your packaged app
package list List your cloud builds
package info Get info about a build
cordova run Run an Ionic project on a connected device

No comments:

Post a Comment

Note: only a member of this blog may post a comment.