Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

angular loadchildren lazy loading

const routes: Routes = [
  {
    path: "statistics",
    loadChildren: () =>
      import("../app/module-statistics/statistics.module").then((m) => m.StatisticsModule),
  }
];
 
PREVIOUS NEXT
Tagged: #angular #loadchildren #lazy #loading
ADD COMMENT
Topic
Name
2+8 =