Nick212 / angular2-webpack-skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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 git@github.com: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.

About


Languages

Language:JavaScript 72.5%Language:TypeScript 20.9%Language:HTML 4.5%Language:CSS 2.1%