UNPKG

ng2-bootstrap-base-modified

Version:

Native Angular Bootstrap Components Typeahead modified

28 lines (24 loc) 735 B
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { AlertModule } from 'ng2-bootstrap/alert'; import { AlertsSectionComponent } from './alerts-section.component'; import { DEMO_COMPONENTS } from './demos'; import { SharedModule } from '../../shared'; import { routes } from './demo-alerts.routes'; @NgModule({ declarations: [ AlertsSectionComponent, ...DEMO_COMPONENTS ], imports: [ AlertModule.forRoot(), CommonModule, SharedModule, RouterModule.forChild(routes) ], exports: [AlertsSectionComponent] }) export class DemoAlertsModule { public static routes: any = routes; }