Browse Source

ionic: add page (#2531)

Sacha Bron 6 years ago
parent
commit
7a68477df4
1 changed files with 27 additions and 0 deletions
  1. 27 0
      pages/common/ionic.md

+ 27 - 0
pages/common/ionic.md

@@ -0,0 +1,27 @@
+# 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}}`