1
|
import { RouterModule, Routes } from '@angular/router';
|
2
|
import { NgModule } from '@angular/core';
|
3
|
import { SourcesRegisterComponent } from './sources-register.component';
|
4
|
import { SrLiteratureComponent } from './sources-register/sr-literature.component';
|
5
|
import { SrDataComponent } from './sources-register/sr-data.component';
|
6
|
import { SrJournalComponent } from './sources-register/sr-journal.component';
|
7
|
import { SrAggregatorComponent } from './sources-register/sr-aggregator.component';
|
8
|
import {SrCrisComponent} from './sources-register/sr-cris.component';
|
9
|
|
10
|
const sourcesRoutes: Routes = [
|
11
|
{
|
12
|
path: '',
|
13
|
// component: SourcesComponent,
|
14
|
children: [
|
15
|
{
|
16
|
path: 'register',
|
17
|
children: [
|
18
|
{
|
19
|
path: '',
|
20
|
component: SourcesRegisterComponent
|
21
|
},
|
22
|
{
|
23
|
path: 'literature',
|
24
|
component: SrLiteratureComponent
|
25
|
},
|
26
|
{
|
27
|
path: 'data',
|
28
|
component: SrDataComponent
|
29
|
},
|
30
|
{
|
31
|
path: 'journal',
|
32
|
component: SrJournalComponent
|
33
|
},
|
34
|
{
|
35
|
path: 'aggregator',
|
36
|
component: SrAggregatorComponent
|
37
|
},
|
38
|
{
|
39
|
path: 'cris',
|
40
|
component: SrCrisComponent
|
41
|
}
|
42
|
]
|
43
|
},
|
44
|
]
|
45
|
}
|
46
|
];
|
47
|
|
48
|
@NgModule ({
|
49
|
imports: [RouterModule.forChild(sourcesRoutes)],
|
50
|
exports: [RouterModule]
|
51
|
})
|
52
|
|
53
|
export class SourcesRouting {}
|