This is a seed heavily based upon Angular.io's tutorial on webpack. Key replacements include:
- styles are now scss + page wide styles are applied via
src/app/site.scss
inside ofsrc/app/app.component.ts
- using TS2.0's project.json ability to get typings via
@types/
which make updating typings much easier
- Karma + Jasmin test runner
- Webpack
# clone our repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 https://github.com/falconmick/angular-seed.git
# change directory to our repo
cd angular-seed
# install the repo with npm
npm install
# start the server
npm start
go to http://0.0.0.0:8080 or http://localhost:8080 in your browser
npm run test
# production
npm run build
Configuration files live in config/
we are currently using webpack and karma for different stages of your application
Thanks AngularClass/angular2-webpack-starter for a great readme to base this one off. If your looking for a more kitchen sink seed, this has all the goodies