You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
578 B

import { Routes } from '@angular/router';
import { SeasonsComponent } from './pages/seasons/seasons.component';
import { SeasonDetailsComponent } from './pages/season-details/season-details.component';
import { GettingStartedComponent } from './pages/getting-started/getting-started.component';
export const routes: Routes = [
{ path: '', redirectTo: '/seasons', pathMatch:'full' },
{ path: 'seasons', component: SeasonsComponent },
{ path: 'seasons/:id', component: SeasonDetailsComponent },
{ path: 'getting-started', component: GettingStartedComponent },
];