/angular-seed

Angular 2 seed based off of angular.io's documentation for webpack

Primary LanguageJavaScriptMIT LicenseMIT

Angular2 Seed

About

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 of src/app/app.component.ts
  • using TS2.0's project.json ability to get typings via @types/ which make updating typings much easier

Versions of this seed

Features

  • Karma + Jasmin test runner
  • Webpack

Quick start

# 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

Other commands

run tests

npm run test

build files

# production
npm run build

Configuration

Configuration files live in config/ we are currently using webpack and karma for different stages of your application

Thanks

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