refactor(app): rename components, move tinymce to separate file

This commit is contained in:
KostyaDanovsky 2017-05-06 14:52:41 +03:00
parent 923e56c3d2
commit 3ac268a096
40 changed files with 199 additions and 136 deletions

View file

@ -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 {