Build Angularjs+ionic+cordova development environment and run a demo

Source: Internet
Author: User

There are three types of mobile apps: Native App,webapp,hybridapp;hybridapp, which combines the advantages of the first two categories of apps, is becoming more and more popular.

Cordova is a middleware that lets us package webapp into Hybridapp, and it provides a lot of plugins that allow us to use native app functionality.

Ionic is a library of interface styles, modeled on native iOS and Android interfaces, and is based on AngularJs .

In this article we build the Angularjs+ionic+cordova development environment in Win7, including the node. js, Cordova CLI, JDK, and Android SDK involved.

Then we will implement two simple demo, let's start!

1 Installing Cordova

(The installation of the Cordova development environment, including the node. js, Cordova CLI, JDK, and Android SDK involved, and then create a Helloword project.) )

1.1 Installing node. js

Https://nodejs.org directly to the official website to download and follow the default path to install it.

After the installation is complete on the command line: Test succeeded!

$ npm
1.2 Installing the Cordova CLI

Command line:

$ NPM install-g Cordova

Build Angularjs+ionic+cordova development environment and run a demo

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.