mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
refactor(app): rename components, move tinymce to separate file
This commit is contained in:
parent
923e56c3d2
commit
3ac268a096
40 changed files with 199 additions and 136 deletions
|
|
@ -13,7 +13,13 @@ import {
|
|||
NgaActionsModule,
|
||||
} from '@nga/theme';
|
||||
|
||||
import { SearchInputComponent, HeaderComponent, FooterComponent } from './components';
|
||||
import {
|
||||
HeaderComponent,
|
||||
FooterComponent,
|
||||
SearchInputComponent,
|
||||
TinyMCEComponent
|
||||
} from './components';
|
||||
|
||||
import { OneColumnLayoutComponent } from './layouts';
|
||||
|
||||
const BASE_MODULES = [
|
||||
|
|
@ -36,12 +42,8 @@ const COMPONENTS = [
|
|||
HeaderComponent,
|
||||
FooterComponent,
|
||||
SearchInputComponent,
|
||||
];
|
||||
|
||||
const LAYOUTS = [
|
||||
TinyMCEComponent,
|
||||
OneColumnLayoutComponent,
|
||||
HeaderComponent,
|
||||
FooterComponent,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
|
@ -54,11 +56,9 @@ const LAYOUTS = [
|
|||
...BASE_MODULES,
|
||||
...NGA_MODULES,
|
||||
...COMPONENTS,
|
||||
...LAYOUTS,
|
||||
],
|
||||
declarations: [
|
||||
...COMPONENTS,
|
||||
...LAYOUTS,
|
||||
],
|
||||
})
|
||||
export class ThemeModule {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue