The best place to start with Ionic is our documentation page.
Note: Ionic is Alpha software and currently best supports iOS 6+ and Android 4.1+ (though we are working on Android performance improvements). Ionic is changing quickly as we work towards the beta.
Ionic is the open source HTML5 Mobile Framework for building amazing, cross-platform hybrid native apps with HTML, JavaScript, and CSS. Just like this one:
We built Ionic because we wanted a framework that focused on building hybrid native apps, rather than mobile websites. We wanted this framework to be obsessive about great design and performance. A framework that left the past behind and focused on the future where mobile devices could make HTML5 feel native.
It's important to realize that Ionic is not a replacement for frameworks used for building mobile web apps. There are a lot of great solutions that work well for websites, like jQuery Mobile.
Ionic is also not a good solution if you need to support older generation devices. Our compatibility starts at iOS 6 and Android 4.1. We will never support versions earlier than those. This is a framework for the future. Learn more: Where does the Ionic Framework fit in?
To start using ionic, you have two options: copy over the built JS and CSS files, or
use the ionic
tool (ionic-cli) which can be installed through npm:
$ sudo npm install -g ionic
Then, you can start a new ionic project by running:
$ ionic start myproject
- Download the latest stable release from:
- The release folder of this repository
- The Ionic CDN: Latest Release
bower install ionic
- Download the bleeding edge just-from-master release from:
- The Ionic CDN: Nightly Build
- Look in the ionic-bower Repository for the latest version, and do for example
bower install driftyco/ionic-bower#0.9.23-alpha-652
(bower install ionic
will have the latest available soon)
Once you have a release, use js/ionic.js
, js/ionic-angular.js
, and css/ionic.css
.
For most cases, you'll need AngularJS as well. This is bundled in js/angular/
and js/angular-ui-router/
.
- Follow @ionicframework on Twitter.
- Subscribe to the Ionic Newsletter.
- Have a question that's not a feature request or bug report? Discuss on the Ionic Forum.
- Read our Blog.
- Have a feature request or find a bug? Submit an issue.
Max Lynch
Ben Sperry
Adam Bradley
npm install
to setupgrunt
to jshint & buildgrunt watch
to watch and rebuild on changegrunt karma:single
to test one-timegrunt karma:watch
to test and re-run on source change- Additionally, a commit message validator is installed for this repository when running
grunt
. Read about it here.
- Uses http://github.com/ajoslin/conventional-changelog conventions
(uses AngularJS's bash utils - when you run any script, run it with --git-push-dryrun=true
to do 'mock' git pushes)
- Run
./scripts/release/finalize-version.sh --action=prepare
to:- Remove version suffix
- Write new version to package/bower/component.json
- Move build files to
release/
- Commit & tag the release
- Run
./scripts/release/finalize-version.sh --action=publish
to:- Push out new version
- Once new version is pushed out, run
./scripts/release/initialize-new-version.sh
(usage is shown in file), to bump to next version with bump type / version suffix / version name specified.
Ionic is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.