Install globally webpack-dev-server:
npm install -g webpack-dev-server
Clone this repository, remove .git dir and run npm install
:
git clone git@github.com:erikfig/angular2-webpack-skeleton.git
cd angular2-webpack-skeleton
npm install
Clone this repository using tab v2.0.0, remove .git dir and run npm install
:
git clone --branch v2.0.0 git@github.com:erikfig/angular2-webpack-skeleton.git
cd angular2-webpack-skeleton
npm install
Or use NgInstall.
Create your app in src diretory.
Commands:
npm start
- run developer server in port 8080npm run build
- run de build tasks to production (in dist directory)npm test
- run de tests
Only send PRs to this repository.