https://github.com/patrickjs/angular2do
TodoMVC: React setState/Immutable data pattern done in Angular2
https://github.com/patrickjs/angular2do
Last synced: 8 months ago
JSON representation
TodoMVC: React setState/Immutable data pattern done in Angular2
- Host: GitHub
- URL: https://github.com/patrickjs/angular2do
- Owner: PatrickJS
- Created: 2015-02-07T14:18:41.000Z (almost 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-03-04T03:23:06.000Z (almost 11 years ago)
- Last Synced: 2025-03-30T00:12:29.285Z (9 months ago)
- Language: HTML
- Homepage: http://gdi2290.net/angular2do/
- Size: 3.03 MB
- Stars: 39
- Watchers: 7
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular 2 Todo App
TodoMVC done with Angular2 alpha release.
### Installation
1. `$ npm install -g serve`
2. `$ serve`
3. `localhost:8080`
### Installation with your own Angular build
1. Clone angular2/angular2 somewhere on your disk.
2. Follow the instructions for Angular 2 and `gulp build` there.
3. `ln -s ~/angular/dist/js/dev deps/ng` in the root of this repo.
4. `$ npm install -g serve`
5. `$ serve`
6. Update systemjs path from 'deps/angular2' to 'deps/ng'
7. Write your AtScript code in app/ folder
8. `localhost:8080`
### Static deps
(already included in the deps folder)
1. The latest version of traceur.js (modified to support atscript out of the box).
2. The latest version of system.js
3. The latest version of es6-module-loader.js
4. The latest version of zone.js (and long-stacktrace-zone.js)
### Hacks
Due to bug in system.js and traceur integration, options are not picked up,
(TODO:rado file a bug and put a link here). To support atscript, we manually
edited the atscript flags in `traceur.js` (see `index.html` for the names of the flags.)
### TODO
* Update deps (traceur, systemjs, es6) and use npm
* Create Flux version
* Add server for FastBoot