You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
553 B
15 lines
553 B
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { UserProfileDetailsComponent } from './components/user-profile-details/user-profile-details.component';
|
|
import { UserShowComponent } from './components/user-show/user-show.component';
|
|
|
|
const routes: Routes = [
|
|
{path:'showAllUsers', component: UserShowComponent},
|
|
{path:'profile', component: UserProfileDetailsComponent},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AppRoutingModule { }
|