aswi2021codebakers-gitlab/src/app/app-routing.module.ts @ f8b9a3a2
1 | f8b9a3a2 | hlavja | import {NgModule} from '@angular/core'; |
---|---|---|---|
2 | import {RouterModule, Routes} from '@angular/router'; |
||
3 | import {IndexComponent} from './index/components/index.component'; |
||
4 | ee1670e3 | hlavja | |
5 | f8b9a3a2 | hlavja | const routes: Routes = [ |
6 | {
|
||
7 | path: '', |
||
8 | component: IndexComponent, |
||
9 | pathMatch: 'full', |
||
10 | }
|
||
11 | ];
|
||
12 | ee1670e3 | hlavja | |
13 | @NgModule({ |
||
14 | imports: [RouterModule.forRoot(routes)], |
||
15 | exports: [RouterModule] |
||
16 | })
|
||
17 | f8b9a3a2 | hlavja | export class AppRoutingModule { |
18 | }
|