import { Routes } from '@angular/router' ; import { UsersComponent } from './user/users.component' ; import { AboutComponent } from './about/about.component' ; export const routerConfig = [ { path : '' , redirectTo : 'users' , pathMatch : 'full' } , { path : 'users' , component : UsersComponent } , { path : 'about' , component : AboutComponent } ] ;