Angular Routing & Forms based Demo application
This commit is contained in:
11
Week-04/Day_05/student-routing-form/src/app/app.routes.ts
Normal file
11
Week-04/Day_05/student-routing-form/src/app/app.routes.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { Home } from './home/home';
|
||||
import { RegisterComponent } from './register/register';
|
||||
|
||||
export const routes: Routes = [
|
||||
|
||||
{ path: '', component: Home },
|
||||
|
||||
{ path: 'register', component: RegisterComponent }
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user