HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ionic — A framework to build hybrid mobile apps. More information: <https://ionicframework.com/docs/cli>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildionichybridappsframeworkclimobile

Problem

How to use the ionic command: A framework to build hybrid mobile apps. More information: <https://ionicframework.com/docs/cli>.

Solution

ionic — A framework to build hybrid mobile apps. More information: <https://ionicframework.com/docs/cli>.

Create a new project:
ionic start


Start a local dev server for app dev/testing:
ionic serve


Generate new app component, directive, page, pipe, provider, or tabs:
ionic g {{page}}


Run app on an Android/iOS device:
ionic cordova run {{android|ios}} --device


Check the health of an Ionic app:
ionic doctor {{check}}


Display versions of Ionic, Cordova, environment, etc.:
ionic info

Code Snippets

Create a new project

ionic start

Start a local dev server for app dev/testing

ionic serve

Generate new app component, directive, page, pipe, provider, or tabs

ionic g {{page}}

Run app on an Android/iOS device

ionic cordova run {{android|ios}} --device

Check the health of an Ionic app

ionic doctor {{check}}

Context

tldr-pages: common/ionic

Revisions (0)

No revisions yet.