创建项目
$ ionic start myApp tabs
这个步骤非常的耗费时间,网络啊网络
➜ Project ionic start bee-app tabs
Creating Ionic app in folder /Users/xxx/myApp based on tabs project
The directory /Users/xxx/myApp already exists.
Would you like to overwrite the directory with this new project?
(yes/no): yes
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================] 100% 0.0s
Update config.xml
Initializing cordova project
Fetching plugin "org.apache.cordova.device" via plugin registry
Fetching plugin "org.apache.cordova.console" via plugin registry
Fetching plugin "com.ionic.keyboard" via plugin registry
Your Ionic project is ready to go! Some quick tips:
* cd into your project: $ cd myApp
* Setup this project to use Sass: ionic setup sass
* Develop in the browser with live reload: ionic serve
* Add a platform (ios or Android): ionic platform add ios [android]
Note: iOS development requires OS X currently
See the Android Platform Guide for full Android installation instructions:
https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html
* Build your app: ionic build
* Simulate your app: ionic emulate
* Run your app on a device: ionic run
* Package an app using Ionic package service: ionic package
For more help use ionic --help or visit the Ionic docs: http://ionicframework.com/docs
+---------------------------------------------------------+
+ New Ionic Updates for February 2015
+
+ The View App just landed. Preview your apps on any device
+ http://view.ionic.io
+
+ Add ngCordova to your project for easy device API access
+ bower install ngCordova
+
+ Generate splash screens and icons with ionic resource
+ http://ionicframework.com/blog/automating-icons-and-splash-screens/
+
+---------------------------------------------------------+
Create an ionic.io account to use the Ionic View app and other features?
(Y/n): Y