diff options
author | unknown <schencej@clarkson.edu> | 2019-12-01 23:23:38 -0500 |
---|---|---|
committer | schencej <schencej@clarkson.edu> | 2019-12-02 16:29:19 -0500 |
commit | e31ace84fbd37623b3863d8959818d7d70129c87 (patch) | |
tree | 4073c947546b961f4c6db5ebc6295641e21c13a9 /recipeBuddy/src/app/app-routing.module.ts | |
parent | 5fc0371f5fc0215f48b9f27ac216a359da6997e9 (diff) |
added app routing and cook page front end
Diffstat (limited to 'recipeBuddy/src/app/app-routing.module.ts')
-rw-r--r-- | recipeBuddy/src/app/app-routing.module.ts | 15 |
1 files changed, 15 insertions, 0 deletions
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 { } |