2018-11-08 22:10:44 +01:00
|
|
|
# ionic
|
|
|
|
|
|
|
|
> A framework to build hybrid mobile apps.
|
2019-06-05 10:05:49 +02:00
|
|
|
> More information: <https://ionicframework.com/docs/cli>.
|
2018-11-08 22:10:44 +01:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
|
|
|
- Show versions of ionic, cordova, environment, etc.:
|
|
|
|
|
|
|
|
`ionic info`
|
|
|
|
|
|
|
|
- Run app on an android/ios device:
|
|
|
|
|
|
|
|
`ionic cordova run {{android|ios}} --device`
|
|
|
|
|
|
|
|
- Check the health of a ionic app:
|
|
|
|
|
|
|
|
`ionic doctor {{check}}`
|