编写通用组件测试页面
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {TestCommonTableComponent} from './test-common-table.component';
|
||||
import {Router, RouterModule} from '@angular/router';
|
||||
import {CommonTableModule} from "../components/common-table/common-table.module";
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [TestCommonTableComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule.forChild([{path: '', component: TestCommonTableComponent}]),
|
||||
CommonTableModule
|
||||
]
|
||||
})
|
||||
export class TestCommonTableModule {
|
||||
}
|
||||
Reference in New Issue
Block a user