/angular4-webpack3-seed

Angular 4 Typescript with Webpack 3 Seed

Primary LanguageTypeScript

Angular4 with Webpack3

This is a skeleton project that is using Angular 4 and bundling with Webpack 3. Find out more about the project, check out blog Setting up Angular 4 Typescript with Webpack 3

Precondition

Make sure you have Node version >= 6.9.0 and NPM >= 3.10.0 You can check by runing commands below,

npm -v
node -v

Installation

npm install

Build

Development

npm run build:dev

Production

npm run build

Runing the app

Development

npm start

Production (Serve assets from dist/)

npm run server

Start browser with http://localhost:4200

Lint

npm run lint

Clean (dist/)

npm run clean