2015-05-29 14:01:16 -05:00
2015-05-29 14:01:16 -05:00
2015-04-25 11:27:36 -05:00
2015-05-28 15:16:09 -05:00
2015-03-25 15:54:03 -06:00
2015-05-19 16:24:11 -05:00
2015-05-15 21:52:56 -05:00
2015-05-12 09:45:04 -05:00

Building & Running

** WARNING: This is a temporary hack **

  1. At the root of your ionic2 directory/repo, run: gulp update.angular. This will get the latest version of Angular2 master and install it as a sibling directory ../angular-ionic to wherever your ionic2 directory is. (It'll take a while to npm install angular2, so go grab a beer).
  2. In the ionic2 working directory, run gulp watch. This will copy ionic2 components and test files to the correct angular directories as you're developing.
  3. In another terminal, cd into the ../angular-ionic directory, and run gulp serve.js.dev. This will build out ionic examples too.
  4. Go to http://localhost:8000/examples/src/ionic/
  5. Stay cool

** WARNING: This is a temporary hack **

Things you'll probably need to fix

  • @Decorator is now just @Directive
  • Components must use an element selector
  • NgElement is no longer a thing, it's now ElementRef. Stuff needs to be fixed.
  • All main.js test files were renamed to index.js to work with angular's build
  • imports that are relative paths should start with ./. For example, instead of path/module it should be ./path/module
  • Component, Directive and View should NOT be imported from angular2/angular2. You'll probably get "No Directive annotation found on Content" when the wrong import is referenced.
  • Import those instead from:
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';
Description
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Readme MIT 2.4 GiB
Languages
TypeScript 60.8%
HTML 24.8%
SCSS 11%
JavaScript 2%
Vue 0.9%
Other 0.5%