mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 01:57:55 +01:00
28 lines
462 B
Markdown
28 lines
462 B
Markdown
|
# ionic
|
||
|
|
||
|
> A framework to build hybrid mobile apps.
|
||
|
|
||
|
- 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}}`
|