0, installation Ionic2

Source: Internet
Author: User

1、安装ionic2
    [email protected]
2. Create a project
    项目名称 --v2                    //  默认tabs的模板
    项目名称 tutorial --v2           //  带侧边栏的模板
    项目名称 --v2 --ts               //  typeScript语法 默认是 ES2015也就是ES6
 
3、在web上启动项目
    $ cd cutePuppyPics    $ ionic serve
4、安装 cordova
    $ sudo npm install -g cordova
5、添加平台
    安卓:    $ ionic platform add android
    ios:     $ ionic platform add ios
6、模拟器上运行项目
    安卓:    $ ionic run android
    ios:    $ ionic emulate ios
My code doesn't quite run through the code so I sort out the one-click installation.
NPM i process-nextick-args core-util-is util-deprecate brace-expansion inflight Lru-cache Sigmund Ionic-gulp-sass-build

0, installation Ionic2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.