码迷,mamicode.com
首页 > 其他好文 > 详细

Ionicframework(二)

时间:2014-10-22 00:39:42      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:des   android   style   blog   http   color   io   os   ar   

                                                 Start building with Ionic!

Follow these quick steps and start building high quality mobile apps in minutes. For a more indepth overview, watch our Crash Course video, which covers everything else you‘d want to know.

Install Ionic

First, install Node.js. Then, install the latest Cordova and Ionic command-line tools. Follow the Android and iOS platform guides to install required platform dependencies. Windows users might want to watch thisinstallation video (or try Vagrant below).

We also have a Vagrant package for an all-in-one setup (experimental).

Note: iOS development requires Mac OS X.

$ npm install -g cordova ionic

Start a project

Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh.

$ ionic start myApp tabs
$ ionic start myApp blank
$ ionic start myApp sidemenu

Run it

Ionic apps are based on Cordova, so we can use the Cordova utilities to build, test, and deploy our apps, but we provide simple ways to do the same with the ionic utility (substitute ios for android to build for Android):

$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios

Yep, it‘s that easy. You might be wondering what‘s next...

Ionitron suggests you head over to the Docs for an overview of Ionic‘s CSS and Javascript components. Make sure to join the Forum and enter your email below for Ionic updates:

Ionicframework(二)

标签:des   android   style   blog   http   color   io   os   ar   

原文地址:http://www.cnblogs.com/royi123/p/4042059.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!