Skip to content

Commit

Permalink
feat(共享模块): shared模块 新增PageHeader和PageContent组件
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayisheji committed Mar 2, 2018
1 parent 78f3d45 commit c77b6fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { SimpleModule } from '@app/simple';

import { BreadcrumbModule } from './breadcrumb';
import { PageHeaderComponent } from './page-header';
import { PageContentComponent } from './page-content';

@NgModule({
imports: [
Expand All @@ -32,6 +34,8 @@ import { BreadcrumbModule } from './breadcrumb';
BreadcrumbModule.forRoot(getNavData),
],
declarations: [
PageHeaderComponent,
PageContentComponent
],
exports: [
CommonModule,
Expand All @@ -41,6 +45,8 @@ import { BreadcrumbModule } from './breadcrumb';
BreadcrumbModule,
FormsModule,
ReactiveFormsModule,
PageHeaderComponent,
PageContentComponent
]
})
export class SharedModule { }

0 comments on commit c77b6fc

Please sign in to comment.