import { TodosComponent } from './todos/todos.component';

const routes:Routes = [ 
   {
       path:'todos',
       component:TodosComponent
   }
]

@NgModule({
    imports:[RouterModule.forChild(routes)],