re-export RouterModule in AppRoutingModule

This commit is contained in:
courtneypattison
2017-11-22 12:23:11 -08:00
parent 8682861dc6
commit b257ca7033
2 changed files with 1 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ import { PageNotFoundComponent } from './pagenotfound/pagenotfound.component';
{ path: '**', pathMatch: 'full', component: PageNotFoundComponent },
])
],
exports: [RouterModule]
})
export class AppRoutingModule {

View File

@@ -1,7 +1,6 @@
import { NgModule } from '@angular/core';
import { CommonModule, APP_BASE_HREF } from '@angular/common';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { EffectsModule } from '@ngrx/effects';
import { StoreModule, MetaReducer, META_REDUCERS } from '@ngrx/store';
@@ -53,7 +52,6 @@ if (!ENV_CONFIG.production) {
imports: [
CommonModule,
HttpModule,
RouterModule,
AppRoutingModule,
CoreModule.forRoot(),
NgbModule.forRoot(),