/angular-typescript-webpack

Angular 1.5 starter using TypeScript, Webpack, and UI Router

Primary LanguageTypeScript

angular-typescript-webpack

Angular 1.5 component-based starter using TypeScript, Webpack, and UI Router. Built following Todd Motto's Angular 1.x Style Guide.

TODO

  • Add sample component and service.
  • Add comments and guidelines explaining style and structure.

Install

npm i typescript webpack -g
git clone https://github.com/evan-carey/angular-typescript-webpack.git
cd angular-typescript-webpack
npm install
npm start

This will start the webpack dev server at localhost:8080 in your browser.

Production Build

npm install
npm run build

This will create a bundled version of the app in the dist/ directory

Features

  • Angular 1.5.x component-based architecture
  • Angular Material
  • UI Router 1.0
  • TypeScript ^2.0.3
  • ES6 Modules
  • Webpack with Hot Module Replacement (HMR)
  • sass support
  • Source maps

References