Nodejs+phonegap+ionic environment to build and create projects

Source: Internet
Author: User

1, the basic software installation and configuration of the environment

JDK, Android SDK, NodeJs, Ant

Their installation method and environment variable configuration can be self-Baidu or Google.

2, the installation of PhoneGap

Open the cmd window and enter NPM install-g PhoneGap (provided the Nodejs is installed and configured).

3, the installation of Cordova

Open the cmd window and enter NPM install-g Cordova

4, the installation of Ionic

Open the cmd window and enter NPM install-g Cordova Ionic

5. Create Ionic Project

A, select the location of the Ionic project, such as I placed in the D-disk ionicprojdects directory, the command line into the directory

b, create the Ionic project, named Ionicdemo, enter ionic start Ionicdemo blank in the above directory,

An empty project is created, and if you change the blank to tabs, you can create a tab item and replace it with Slidemenu

You can create a drawer menu item.

6. Add Platform Support

CD Ionicdemo directory, input Ionic platform add Android adds support for Android platform-enabled projects,

Android to iOS adds iOS-enabled items

Ps:ionic official website address: Ionic, there are detailed instructions and the use of the API method, need to FQ.

Nodejs+phonegap+ionic environment to build and create projects

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.