Home > Web Front-end > JS Tutorial > Specific steps for ionic configuration and installation

Specific steps for ionic configuration and installation

零下一度
Release: 2017-06-24 14:33:21
Original
1290 people have browsed it


##Create project steps:

Build project

ionic start --v2 myApp tabs --skip-npm

Add platform plugin

ionic platform add/remove android/ios

Packaging

ionic build android/ios --release/debug //The default is debug

**tip**
: There are two versions of the package, debug version and release version, the former is debugged, The latter releases

##ionic configuration (ionic1.7.16), which can directly install version 2.0. The default built project is v1.0

-node installation, Configure system environment variables


Path: C: \ Program Files \ nodejs \ node_global \;
## NPM Config Set Prefix "C: \ Program Files \ Node_global"
npm config set cache "C:\Program Files\nodejs \node_cache"
npm config set registry=
##                                                                                                                                                                                                                             %JAVA_HOME% \ jre \ bin;


-Android SDK Installation


: D: \ Androidsdk
Path:
%Android_home%\ Platform-Tools;
%Android_home%\ Tools;

## »Apache Ant installation
to the official homepage download new version (currently Ant1.8.1) Ant The compressed package of apache-ant-1.8.1-bin.zip. Extract it to your hard drive, for example: C:\apache-ant-1.8.1.

New ANT_HOME variable: C:\apache-ant-1.10.1
PATH:
C:/apache-ant-1.8.1/bin
New CLASSPATH:
C :\apache-ant-1.10.1\lib
- npm install -g ionic@1.7.16 cordova@6.2.0

The above is the detailed content of Specific steps for ionic configuration and installation. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template