-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When lazy loading NgModules and Components, support loading them without the .then
and allow them to be exported as default.
import { Component } from '@angular/core';
@Component({
template: `
<router>
<route path="/lazy" [load]="components.lazy"> </route>
</router>
`,
})
export class MyComponent {
components = {
lazy: () => import('./lazy/lazy.component')
};
}
Metadata
Metadata
Assignees
Labels
No labels