A skeleton Angular 2 app built with babel.
- Bundles JavaScript files into one file. No lazy loading.
- Uses babel instead of Traceur.
- Supports
@
annotation and type annotation with babel transformer plugins. - (Very limited rtts_assert supoort)
Build
npm install
make
Preview
npm install -g http-server
http-server public
angular/quickstart
provides us to try Angular 2 app with on-the-fly transpilation and lazy-loading, which result in long waiting time for each file change. Also, I'm not familiar with the Traceur tool stack and its output. angular2 npm package says The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. So I gave it a shot.
To support AtScript syntax of Angular 2, this skeleton app uses the following external babel transformer plugins that I made:
- Support source map.