ionic起步

Ionic:

Build mobile apps faster with the web technologies you know and love.

More than code. Ionic is an ecosystem.

1.安装:(确保已经安装Node)

1
$ npm install -g cordova ionic

Cordova:http://cordova.apache.org/

Mobile apps with HTML, CSS & JS Target multiple platforms with one code base Free and open source

2.创建项目:

1
$ ionic start myApp tabs

三种选择:

$ ionic start myApp blank

img

$ ionic start myApp tabs

img

$ ionic start myApp sidemenu

img

3.运行:

1
2
3
4
$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
分享到: