mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 17:00:13 +01:00
30 lines
754 B
TypeScript
30 lines
754 B
TypeScript
import { NgModule } from '@angular/core';
|
|
|
|
import { NgaMenuModule, NgaSidebarModule, NgaThemeModule } from '@nga/theme';
|
|
|
|
import { menuItems } from './pages-menu';
|
|
|
|
import { PagesComponent } from './pages.component';
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
import { PagesRoutingModule } from './pages-routing.module';
|
|
import { ThemeModule } from '../@theme/theme.module';
|
|
|
|
const PAGES_COMPONENTS = [
|
|
PagesComponent,
|
|
DashboardComponent,
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
NgaThemeModule.forRoot({ name: 'cosmic' }),
|
|
NgaSidebarModule.forRoot(),
|
|
NgaMenuModule.forRoot({ items: menuItems }),
|
|
PagesRoutingModule,
|
|
ThemeModule,
|
|
],
|
|
declarations: [
|
|
...PAGES_COMPONENTS,
|
|
],
|
|
})
|
|
export class PagesModule {
|
|
}
|