Projekt

Obecné

Profil

Stáhnout (385 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import {NgModule} from '@angular/core';
2
import {RouterModule, Routes} from '@angular/router';
3
import {IndexComponent} from './index/components/index.component';
4

    
5
const routes: Routes = [
6
  {
7
    path: '',
8
    component: IndexComponent,
9
    pathMatch: 'full',
10
  }
11
];
12

    
13
@NgModule({
14
  imports: [RouterModule.forRoot(routes)],
15
  exports: [RouterModule]
16
})
17
export class AppRoutingModule {
18
}
(1-1/4)