dennis-johnson-dev / angular2_code_splitting

Code splitting in Angular 2 with Webpack 2. (repo from blog post)

Home Page:http://blog.waffle.io/code-splitting-angular-2-webpack-2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Splitting with Angular 2 and Webpack 2

Installation

npm i
npm run build

Running Example

npm start

Navigate to http://localhost:3011.

Click "Load a dynamic component"

View the network tab in the dev tools to see that the component has been downloaded.

About

Code splitting in Angular 2 with Webpack 2. (repo from blog post)

http://blog.waffle.io/code-splitting-angular-2-webpack-2/


Languages

Language:TypeScript 62.5%Language:JavaScript 30.6%Language:HTML 5.6%Language:CSS 1.3%