MacOSX Installation Ionic Success Tutorial

Source: Internet
Author: User
Tags install node
First, introduce the ionic

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 will be a trusted framework.

Second, how to install

(1) Install the correct NODEJS version
Tossing for two days, has been prompted Xmlbuilder error. A variety of Baidu and Google, only to realize that may be a node. js version issue. I use the Brew install node installation, after the installation version is 0.12.2, when installing ionic with NPM, always prompt for version greater than 4.0. It was later downloaded from node. JS's official website and solved the problem.
: https://nodejs.org/en/

?

(2) Check version number
$ node-v
v6.0.0

(3) Installation
sudo npm install-g Cordova Ionic
(4) Build project
Ionic Start myApp Tabs
(5) Running the project
\ (CD myApp
\) Ionic platform add iOS
\ (Ionic build iOS
\) Ionic emulate iOS

?

?

===============

Follow my subscription number

?

MacOSX Installation Ionic Success Tutorial

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.