blob: a6e4399a91ae2370570b1068b82691ff02fd25bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 { }
|