Revize f8b9a3a2
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/app-routing.module.ts | ||
---|---|---|
1 |
import { NgModule } from '@angular/core'; |
|
2 |
import { RouterModule, Routes } from '@angular/router'; |
|
1 |
import {NgModule} from '@angular/core'; |
|
2 |
import {RouterModule, Routes} from '@angular/router'; |
|
3 |
import {IndexComponent} from './index/components/index.component'; |
|
3 | 4 |
|
4 |
const routes: Routes = []; |
|
5 |
const routes: Routes = [ |
|
6 |
{ |
|
7 |
path: '', |
|
8 |
component: IndexComponent, |
|
9 |
pathMatch: 'full', |
|
10 |
} |
|
11 |
]; |
|
5 | 12 |
|
6 | 13 |
@NgModule({ |
7 | 14 |
imports: [RouterModule.forRoot(routes)], |
8 | 15 |
exports: [RouterModule] |
9 | 16 |
}) |
10 |
export class AppRoutingModule { } |
|
17 |
export class AppRoutingModule { |
|
18 |
} |
Také k dispozici: Unified diff
#8365 - Implementace interceptoru
+ first implementation of interceptor