14 lines
549 B
TypeScript
14 lines
549 B
TypeScript
import { Routes } from '@angular/router';
|
|
import {WelcomeComponent} from './welcome/welcome.component';
|
|
import {FinalComponent} from './final/final.component';
|
|
import {CurrentScoreComponent} from './current-score/current-score.component';
|
|
import {GameMenuComponent} from './game-menu/game-menu.component';
|
|
|
|
|
|
export const routes: Routes = [
|
|
{ path: '', component: WelcomeComponent },
|
|
{ path: 'start', component: GameMenuComponent },
|
|
{ path: 'final', component: FinalComponent },
|
|
{ path: 'currentScore', component: CurrentScoreComponent },
|
|
];
|