Skip to content

Commit

Permalink
feat: add routing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Oct 23, 2021
1 parent 4873ec2 commit 319093a
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 538 deletions.
12 changes: 9 additions & 3 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

const routes: Routes = [];
const routes: Routes = [
{
path: '',
loadChildren: () =>
import('./todos/todos.module').then((m) => m.TodosModule),
},
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
exports: [RouterModule],
})
export class AppRoutingModule { }
export class AppRoutingModule {}
Loading

0 comments on commit 319093a

Please sign in to comment.