npm i
npm run build
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.
Code splitting in Angular 2 with Webpack 2. (repo from blog post)
TypeScript
npm i
npm run build
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.