2022-09-02 12:39:24 +00:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {RouterModule, Routes} from '@angular/router';
|
|
|
|
import { GamenightComponent } from './pages/gamenight/gamenight.component';
|
|
|
|
import {HomeComponent} from './pages/home/home.component';
|
|
|
|
import { StatsComponent } from './pages/stats/stats.component';
|
2022-08-28 18:28:08 +00:00
|
|
|
|
2022-09-02 12:39:24 +00:00
|
|
|
const routes: Routes = [
|
|
|
|
{path: '', component: HomeComponent, pathMatch: 'full'},
|
|
|
|
{path: 'gamenight', component: GamenightComponent},
|
|
|
|
{path: 'stats', component: StatsComponent}
|
|
|
|
];
|
2022-08-28 18:28:08 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2022-09-02 12:39:24 +00:00
|
|
|
imports: [RouterModule.forRoot(routes)],
|
|
|
|
exports: [RouterModule]
|
2022-08-28 18:28:08 +00:00
|
|
|
})
|
2022-09-02 12:39:24 +00:00
|
|
|
export class AppRoutingModule {
|
|
|
|
}
|