mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
feat(theme): add base header in one column layout
This commit is contained in:
parent
ed658566b3
commit
43f174a051
4 changed files with 20 additions and 12 deletions
|
|
@ -12,7 +12,7 @@ import {
|
|||
NgaUserModule
|
||||
} from '@nga/theme';
|
||||
|
||||
import { RootLayoutComponent } from './layouts';
|
||||
import { OneCollLayoutComponent } from './layouts';
|
||||
|
||||
const BASE_MODULES = [
|
||||
CommonModule,
|
||||
|
|
@ -25,24 +25,25 @@ const NGA_MODULES = [
|
|||
NgaLayoutModule,
|
||||
NgaTabsetModule,
|
||||
NgaRouteTabsetModule,
|
||||
NgaSidebarModule,
|
||||
NgaMenuModule,
|
||||
NgaUserModule
|
||||
];
|
||||
|
||||
const LAYOUT_COMPONENTS = [
|
||||
RootLayoutComponent
|
||||
OneCollLayoutComponent
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
...BASE_MODULES,
|
||||
...NGA_MODULES,
|
||||
NgaSidebarModule.forRoot(),
|
||||
],
|
||||
exports: [
|
||||
...BASE_MODULES,
|
||||
...NGA_MODULES,
|
||||
...LAYOUT_COMPONENTS
|
||||
...LAYOUT_COMPONENTS,
|
||||
NgaSidebarModule
|
||||
],
|
||||
declarations: [
|
||||
...LAYOUT_COMPONENTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue