2018-11-08 13:10:44 -08:00
|
|
|
# ionic
|
|
|
|
|
|
|
|
> A framework to build hybrid mobile apps.
|
2019-06-05 09:05:49 +01:00
|
|
|
> More information: <https://ionicframework.com/docs/cli>.
|
2018-11-08 13:10:44 -08: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}}`
|
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Run app on an Android/iOS device:
|
2018-11-08 13:10:44 -08:00
|
|
|
|
|
|
|
`ionic cordova run {{android|ios}} --device`
|
|
|
|
|
2021-08-15 19:59:09 +02:00
|
|
|
- Check the health of an Ionic app:
|
2018-11-08 13:10:44 -08:00
|
|
|
|
|
|
|
`ionic doctor {{check}}`
|
2024-01-30 01:55:24 -03:00
|
|
|
|
|
|
|
- Display versions of Ionic, Cordova, environment, etc.:
|
|
|
|
|
|
|
|
`ionic info`
|