Created
August 6, 2019 18:04
-
-
Save lydemann/10aed0da9f39e5b3c8e1fde62156bcfa to your computer and use it in GitHub Desktop.
app.routes.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const appRoutes: Routes = [ | |
| { | |
| path: rootPath, | |
| component: TodoListComponent, | |
| pathMatch: 'full' | |
| }, | |
| { | |
| path: completedTodoPath, | |
| loadChildren: () => | |
| import('./todo-list-completed/todo-list-completed.module').then( | |
| (m) => m.TodoListCompletedModule | |
| ) | |
| } | |
| ]; | |
| export const appRouterModule = RouterModule.forRoot(appRoutes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment