Skip to content

erikfig/angular2-webpack-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular and Webpack Skeleton

Install

Install globally webpack-dev-server:

npm install -g webpack-dev-server

For Angular 4 use:

Clone this repository, remove .git dir and run npm install:

git clone [email protected]:erikfig/angular2-webpack-skeleton.git
cd angular2-webpack-skeleton
npm install

For Angular 2 use:

Clone this repository using tab v2.0.0, remove .git dir and run npm install:

git clone --branch v2.0.0 [email protected]:erikfig/angular2-webpack-skeleton.git
cd angular2-webpack-skeleton
npm install

Or use NgInstall.

Usage

Create your app in src diretory.

Commands:

  • npm start - run developer server in port 8080
  • npm run build - run de build tasks to production (in dist directory)
  • npm test - run de tests

Contributing

Only send PRs to this repository.