A simple Angular Seed featuring Angular 2 (or Angular 4) and Webpack 2 with async routes.
# clone our repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 https://github.com/angularclass/angular2-seed.git
# change directory to our repo
cd angular2-seed
# install the repo with npm
npm install
# start the server
npm start
# use Hot Module Replacement
npm run server:dev:hmr
# if you're in China use cnpm
# https://github.com/cnpm/cnpm
- Webpack 2
System.import
(with synthetic default imports)- DLL files
- HMR
- TypeScript 2
- @types
- Angular 2
- Async loading
- Angular 2
- Update package.json to current beta version https://github.com/angular/angular/tree/4.0.0-beta.0
- AngularClass
- @angularclass/form-validator
- @angularclass/conventions-loader
- @angularclass/hmr-loader
- @angularclass/hmr
Everything in this repo will be merged into angular2-webpack-starter