Get started quickly with Angular2 Typescript and Webpack: A skeleton / seed Angular2 application that was created by following the official WEBPACK: AN INTRODUCTION on angular.io. I have built this small seed project to get better understanding of the Webpack mechanics as I have never worked with this tool before. I suggest reading the original article, but if you look to start quickly you can use the code and start your own seed project immediately.
Note: You can also use Angular2 CLI that uses Webpack.
The source code: https://github.com/kolorobot/angular2-typescript-webpack
Make sure you are using at least node v.5+ and latest npm
- Clone the repository:
- Install dependencies by running the following command:
typings directories will be created during the install.
- Run tests
- Start the application
All changes done to
src directory will be automatically refreshed
- Create distribution
Build the project by running the following command:
npm run build
dist directory will be created during the build