fengxiang
2018-01-04 72120bbe920425f80d3beb08c08af24151246006
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BasicInfoComponent } from './basic-info/basic-info.component';
import {RouterModule, Routes} from '@angular/router';
 
const routes: Routes = [
  {
    path: '',
    children: [
      { path: 'basic', component: BasicInfoComponent }
    ]
  }
];
 
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(routes)
  ],
  declarations: [BasicInfoComponent]
})
export class SensorsModule { }