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