Open nmarulo opened 1 week ago
[!IMPORTANT] Read issue #2 first
Update the file app.router.ts to change the component fields of the routes to loadComponent.
component
loadComponent
Example:
{ path: 'shopping-list/:id/add-products', loadComponent: () => import('./modules/shopping-list/pages/add-products-shopping-list/add-products-shopping-list.component').then(m => m.AddProductsShoppingListComponent) }
Reference: Routing and lazy-loading
Update the file app.router.ts to change the
component
fields of the routes toloadComponent
.Example:
Reference: Routing and lazy-loading