沈斌
2017-12-15 f9b157566af34b8dc28ba10b34d025ac04f3168b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
 
import { SharedModule } from '@shared/shared.module';
 
import { TableStandardComponent } from './standard/standard.component';
import { RandomUserService } from './randomUser.service';
import { TableFullComponent } from './full/full.component';
 
const routes: Routes = [
    { path: 'standard', component: TableStandardComponent },
    { path: 'full', component: TableFullComponent }
];
 
@NgModule({
    imports: [
        SharedModule,
        RouterModule.forChild(routes)
    ],
    providers: [ RandomUserService ],
    declarations: [
        TableStandardComponent,
        TableFullComponent
    ],
    exports: [
        RouterModule
    ],
    entryComponents: [
 
    ]
})
export class TablesModule { }