overflow-webapp/src/app/pages/pages.module.ts

47 lines
1.4 KiB
TypeScript
Raw Normal View History

2018-01-26 21:30:25 +09:00
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PagesComponent } from './pages.component';
import { PagesRoutingModule } from './pages-routing.module';
2018-01-29 18:16:30 +09:00
import { SidebarComponent } from 'app/commons/layouts/sidebar/sidebar.component';
import { CovalentModule } from 'app/commons/ui/covalent/covalent.module';
import { MaterialModule } from 'app/commons/ui/material/material.module';
2018-01-29 18:53:30 +09:00
import { HeaderComponent } from 'app/commons/layouts/header/header.component';
2018-01-29 18:54:59 +09:00
import { FooterComponent } from 'app/commons/layouts/footer/footer.component';
2018-01-30 15:06:23 +09:00
import { MenuItemComponent } from 'app/commons/layouts/menu-item/menu-item.component';
import {
PerfectScrollbarModule,
PERFECT_SCROLLBAR_CONFIG,
PerfectScrollbarConfigInterface
} from 'ngx-perfect-scrollbar';
import { NotificationComponent } from 'app/packages/notification/notification.component';
const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
suppressScrollX: true
};
2018-01-26 21:30:25 +09:00
@NgModule({
imports: [
CommonModule,
PagesRoutingModule,
2018-01-29 18:16:30 +09:00
CovalentModule,
2018-01-30 15:06:23 +09:00
MaterialModule,
PerfectScrollbarModule,
2018-01-26 21:30:25 +09:00
],
declarations: [
2018-01-29 18:16:30 +09:00
PagesComponent,
2018-01-29 18:53:30 +09:00
SidebarComponent,
2018-01-29 18:54:59 +09:00
HeaderComponent,
FooterComponent,
2018-01-30 15:06:23 +09:00
MenuItemComponent,
2018-01-30 15:54:53 +09:00
NotificationComponent,
2018-01-30 15:06:23 +09:00
],
providers: [
{
provide: PERFECT_SCROLLBAR_CONFIG,
useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG
}
2018-01-31 18:55:31 +09:00
],
2018-01-26 21:30:25 +09:00
})
export class PagesModule { }