From c47e6141fbe4d68e7beeac2776e402e6074836ac Mon Sep 17 00:00:00 2001 From: raghu Date: Mon, 24 Feb 2025 18:11:08 -0500 Subject: [PATCH] update app routes --- src/app/app.routes.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index dc39edb..0166b15 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,3 +1,7 @@ import { Routes } from '@angular/router'; +import { HomeComponent } from './home/home.component'; -export const routes: Routes = []; +export const routes: Routes = [ + { path: 'home', component: HomeComponent }, + { path: '', redirectTo: '/home', pathMatch: 'full' }, +];