mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-20 06:58:08 +01:00
refactor: don't export all modules everywhere
This commit is contained in:
parent
df489ad17e
commit
c31ff67052
17 changed files with 218 additions and 263 deletions
|
|
@ -1,26 +1,24 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { NbMenuModule } from '@nebular/theme';
|
||||
|
||||
import { ThemeModule } from '../@theme/theme.module';
|
||||
import { PagesComponent } from './pages.component';
|
||||
import { DashboardModule } from './dashboard/dashboard.module';
|
||||
import { ECommerceModule } from './e-commerce/e-commerce.module';
|
||||
import { PagesRoutingModule } from './pages-routing.module';
|
||||
import { ThemeModule } from '../@theme/theme.module';
|
||||
import { MiscellaneousModule } from './miscellaneous/miscellaneous.module';
|
||||
|
||||
const PAGES_COMPONENTS = [
|
||||
PagesComponent,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
PagesRoutingModule,
|
||||
ThemeModule,
|
||||
NbMenuModule,
|
||||
DashboardModule,
|
||||
ECommerceModule,
|
||||
MiscellaneousModule,
|
||||
],
|
||||
declarations: [
|
||||
...PAGES_COMPONENTS,
|
||||
PagesComponent,
|
||||
],
|
||||
})
|
||||
export class PagesModule {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue