Install globally webpack-dev-server:
npm i -g webpack-dev-server
Clone this repository, remove .git dir and run npm install
:
git clone https://github.com/fabiomirandaa/Angular4-boilerplate-webpack2.git
cd Angular4-boilerplate-webpack2
npm i
Create your app in src diretory.
Commands:
npm start
- run developer server in port 9000npm run build
- run de build tasks to production (in dist directory)npm test
- run de tests
Only send PRs to this repository.