Commands

Ionic

Installation

First make sure you have Node.js or NPM installed
node
For installing IONIC CLI Framework via NPM

npm install -g ionic

For installing ionic angular via NPM

npm install ionic-angular

Few of my used commands just including it in the documentation so that it would be easy whenever necessary

Starter Template

Command used to utilize given starter template for ionic. Create new project via Ionic CLI.

ionic start ionic2-basics blank
ionic start ionic-appName tabs

Development Environment

Command used to build the project & run it in browser with development environment setup.

ionic serve

Ionic Page generation

Command used to generate pages internally in ionic directory. It creates the boilerplate code necessary for running the basic web-app cum ionic wrapper app.

ionic generate page shop

Command used to generate pages in sub directory internally

ionic g c users/admin

Authored by : Kautilya Save

GitHub