Angular 4 Typescript with Webpack 3 Seed
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
.gitignore
package.json
readme.md
tsconfig.json
tslint.json
webpack.config.js

readme.md

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