mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
optimized module imports
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
import { EffectsModule } from '@ngrx/effects';
|
||||
|
||||
import { CoreModule } from '../core/core.module';
|
||||
import { NavbarEffects } from './navbar.effects';
|
||||
import { NavbarSectionComponent } from './navbar-section/navbar-section.component';
|
||||
import { ExpandableNavbarSectionComponent } from './expandable-navbar-section/expandable-navbar-section.component';
|
||||
import { NavbarComponent } from './navbar.component';
|
||||
import { MenuModule } from '../shared/menu/menu.module';
|
||||
|
||||
const effects = [
|
||||
NavbarEffects
|
||||
@@ -15,7 +17,7 @@ const effects = [
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
SharedModule,
|
||||
MenuModule,
|
||||
EffectsModule.forFeature(effects),
|
||||
CoreModule.forRoot()
|
||||
],
|
||||
|
Reference in New Issue
Block a user