Lazy loading doesn't work with Angular 2 spa. #877

Closed
opened 2025-08-09 17:18:01 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @j-nord on 3/28/2017

We use Angular 2 template but it is not possible to use lazy loading with this template.

What ist wrong?

            { test: /\.ts$/, include: /ClientApp/, use: ['awesome-typescript-loader', 'angular2-template-loader', 'angular-router-loader'] },

Call:
path: 'login', loadChildren: './+login/login.module#LoginModule',

*Originally created by @j-nord on 3/28/2017* We use Angular 2 template but it is not possible to use lazy loading with this template. What ist wrong? { test: /\.ts$/, include: /ClientApp/, use: ['awesome-typescript-loader', 'angular2-template-loader', 'angular-router-loader'] }, Call: path: 'login', loadChildren: './+login/login.module#LoginModule',
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#877
No description provided.