Angular 2 lazy loading with Webpack

It took me some time to figure out how to setup lazy loading with Angular 2 in combination with Webpack, therefore I wrote this article to hopefully help you understand how to setup lazy loading. Lets assume we have two pages in our application, “home” and “about”.

via Reme Le Hane

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s