Start Angular2 with Angular2-Webpack-starter

2016/9/31 min read
bookmark this
Responsive image

Angular2 Webpack Starter is prototype Angular2 application for you to start build application. You can reference their Github for the latest information,

First you'll need to install or make sure your npm and node is correct version, Node >= 5.0 & NPM >= 3

Then, you'll need to install webpack

You can reference following link for webpack's documentation. Webpack documentwebpack npm.

npm install -g webpack

You could also check webpack-bundle-size-analyzer tool.

Then, following angualr2-webpack-starter's quick start guide to run command. Following is the the one I run production mode, you can see the javascript bundle become much more smaller now.