Create a simple app using the Ionic framework

Source: Internet
Author: User

Ionic is a Cordova-based HTML5 front-end framework that is powerful enough to quickly make applications that are similar to native development.

One, installation and configuration

1, installation (premise: Cordova Environment configuration complete)

NPM install-g Ionic

2, create project (empty project)

Ionic start [ProjectName] Blank

Options for creating a project include: Blank,sidemenu,tabs,maps

3, add platform support

Ionic Platform Add Android

Ionic Platform Add iOS

4, compiling and testing

Ionic Build Android

Ionic emulate Android

If you are not accustomed to using commands, you can download Ioniclab on the Ionic website, which provides support for the above commands graphically.

Two

Create a simple app using the Ionic framework

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.