90978: Update theme modules

This commit is contained in:
Yura Bondarenko
2022-04-27 14:56:02 +02:00
parent 8a4f811575
commit e65b5e2f1c
6 changed files with 93 additions and 53 deletions

View File

@@ -5,25 +5,24 @@ import { SharedModule } from '../../app/shared/shared.module';
import { HomeNewsComponent } from './app/home-page/home-news/home-news.component';
import { NavbarComponent } from './app/navbar/navbar.component';
import { HeaderComponent } from './app/header/header.component';
import {
HeaderNavbarWrapperComponent
} from './app/header-nav-wrapper/header-navbar-wrapper.component';
import { HeaderNavbarWrapperComponent } from './app/header-nav-wrapper/header-navbar-wrapper.component';
import { SearchModule } from '../../app/shared/search/search.module';
import { RootModule } from '../../app/root.module';
import { NavbarModule } from '../../app/navbar/navbar.module';
/**
* Add components that use a custom decorator to ENTRY_COM&PONENTS as well as DECLARATIONS. This will
* ensure that decorator gets picked up when the app loads
* Add components that use a custom decorator to ENTRY_COMPONENTS as well as DECLARATIONS.
* This will ensure that decorator gets picked up when the app loads
*/
const ENTRY_COMPONENTS = [
];
const DECLARATIONS = [
...ENTRY_COMPONENTS,
HomeNewsComponent,
HeaderComponent,
HeaderNavbarWrapperComponent,
NavbarComponent
NavbarComponent,
];
@NgModule({
@@ -38,7 +37,7 @@ const DECLARATIONS = [
declarations: DECLARATIONS,
providers: [
...ENTRY_COMPONENTS.map((component) => ({ provide: component }))
]
],
})
/**
* This module is included in the main bundle that gets downloaded at first page load. So it should