目录
(1) . 页面在浏览器上显示
cd myApp
ionic serve
(2) . 将app打到测试机上
(ios 测试机)
需要在xcode 中配置,如下图
cordova platform add ios
cordova build ios
cordova run ios
(android测试机)
cordova platform add android
cordova build android
cordova run android