ionic 3 开发之路
1. 环境搭建
JDK 安装及环境变量配置(安装教程参考)
安装python2.7(切记勿装3.x,问题较多)安装教程参考
Android SDK 安装( 安装教程参考) 建议安装7.0 或以上。
Node 安装(建议安装8.9)
2. 按官方教程操作
-
Install Ionic
npm install -g cordova ionic -
Start an App
ionic start myApp tabsCreate an Ionic App using one of our ready-made app templates, or a blank one to start fresh. Check out the Market for more designs.
For v1 projects, use the
--type ionic1flag.$ ionic start myApp blank$ ionic start myApp tabs
-
Run your App
cd myApp ionic serveMuch of your app can be built right in the browser with
ionic serve. We recommend starting with this workflow.When you're ready to deploy your app to a real device, check out our Deploying guide.
Build your App
android (安装过android sdk)
cordova platform add android
cordova run adnroid
ios
cordova platform add ios
cordova run ios

浙公网安备 33010602011771号