Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. const appRoutes: Routes = [
  2. {
  3. path: rootPath,
  4. component: TodoListComponent,
  5. pathMatch: 'full'
  6. },
  7. {
  8. path: completedTodoPath,
  9. loadChildren: () =>
  10. import('./todo-list-completed/todo-list-completed.module').then(
  11. (m) => m.TodoListCompletedModule
  12. )
  13. }
  14. ];
  15.  
  16. export const appRouterModule = RouterModule.forRoot(appRoutes);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement