AngularM AngularM - 5 months ago 22
AngularJS Question

I'm trying to find an angular2 app that has gulp for creating a dist folder using the latest @angular libraries

I'm trying to find an angular2 app that has gulp for creating a dist folder using the latest @angular libraries.

I can find some online but they dont use latest @angulae libs and gulp.

I'm also using system.js to boot the app locally, so I need to see an example of how that works for a dist deployment folder thats bundled.

My main requirements for the app I'm trying to build is:


  • Gulp.

  • Angular2.

  • Latest Angular 2 libs with http and routing libs added.

  • System.js used.

  • Typescript.

  • All the ts files bundles into one file for dist folder.



Thank you.

Answer

Angular2 Seed by Minko Gechev is probably exactly what you are looking for:

https://github.com/mgechev/angular2-seed

It follows the official Angular2 style guide (which i think he also works on). So basically a pretty good starting point for training projects and probably for production projects as well.


A more lightweight seed would be from the angular2 team itself. But the systemjs branch is not yet updated to angular2 rc1. But updating it yourself wouldn't be so hard, since the basic setup could stay the same.

Comments