ionic 3 开发之路

1.  环境搭建

         JDK  安装及环境变量配置(安装教程参考

   安装python2.7(切记勿装3.x,问题较多)安装教程参考

         Android SDK 安装( 安装教程参考) 建议安装7.0 或以上。

   Node 安装(建议安装8.9

2.  按官方教程操作

    

     

  • Install Ionic

    npm install -g cordova ionic

    First, install Node.js. Then, install the latest Cordova and Ionic command-line tools in your terminal. Follow the Android and iOS platform guides to install required tools for development.

  • Start an App

    ionic start myApp tabs

    Create 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 ionic1 flag.

    • $ ionic start myApp blank
    • $ ionic start myApp tabs
    • $ ionic start myApp sidemenu
  • Run your App

    cd myApp
    ionic serve
                  

    Much 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

 

                

    

转载于:https://www.cnblogs.com/xiaoma-ge/p/8159730.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值