首页 > 其他 > 详细

ionic 3 开发之路

时间:2018-01-01 10:56:29      阅读:345      评论:0      收藏:0      [点我收藏+]

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

 

                

    

ionic 3 开发之路

原文:https://www.cnblogs.com/xiaoma-ge/p/8159730.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!