mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
90978: Update theme modules
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user