/angular2-starter-with-webpack

Project template for AngularJS2 with WebPack

Primary LanguageTypeScript

##Installation AngularJs2

quick start angularjs2 follow instruction https://angular.io/docs/ts/latest/quickstart.html and manual install cor-js

$ node_modules/.bin/typings install --global --save dt~core-js                                    

to compile all typescript

$ node_modules/.bin/tsc --rootDir src --outDir dist      

##Installation Webpack

$ npm install webpack --save-dev

download typescript loader

$ npm install ts-loader --save-dev

##Usage

$ node_modules/.bin/webpack --progress

build html to dist

$ npm install --save-dev html-webpack-plugin

set environment to mode development

$ npm install --save-dev webpack-dev-server