From e31ace84fbd37623b3863d8959818d7d70129c87 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 1 Dec 2019 23:23:38 -0500 Subject: added app routing and cook page front end --- recipeBuddy/src/app/app-routing.module.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipeBuddy/src/app/app-routing.module.ts (limited to 'recipeBuddy/src/app/app-routing.module.ts') diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts new file mode 100644 index 0000000..a6e4399 --- /dev/null +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -0,0 +1,15 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +import { CookPageComponent } from './cook-page/cook-page.component'; + +const routes: Routes = [ + { path: '', redirectTo: '/cook', pathMatch: 'full' }, + { path: 'cook', component: CookPageComponent } +]; + +@NgModule({ + imports: [RouterModule.forRoot(routes)], + exports: [RouterModule] +}) +export class AppRoutingModule { } -- cgit v1.1