mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 10:47:42 +00:00
Update cheatsheets
This commit is contained in:
33
ionic
Normal file
33
ionic
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user