Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 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: () => import('./todo-list-completed/todo-list-completed.module').then(m => m.TodoListCompletedModule)
  10. }
  11. ];
  12.  
  13. export const appRouterModule = RouterModule.forRoot(appRoutes);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement