Ionic 2 set sail (i)

Source: Internet
Author: User

Recent work items have begun to contact Ionic2. Study for some time, now share with you.

What is Ionic 2? Baidu, Ionic is an open source, free code base for the development of hybrid mobile applications. You can optimize the performance of HTML, CSS, and JS, build efficient applications, and can also be used to build optimizations for sass and Angularjs. Ionic can be a trusted framework.

Ionic 1 is used for angular 1 and Ionic 2 is used for ANGULAR2.

There is a big difference between angular2 and angular1.

OK, let's start our voyage now.

First install some environment configuration .....

After the environment is configured, open the cmd command.

   $ npm install -g [email protected]Download the latest Ionic version

Go to your program's storage directory.

$ ionic start myApp--v2  //创建你的第一个ionic app

$ CD MYAPP

$ionic serve//start service

This will enable us to start our ionic program.

Next, we can also compile our Android apk or iOS install package, the command is as follows.

$ionic Platform Add Android

Ionic 2 set sail (i)

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.