ref/ make app reloading/working with and without usehash routing strategy

This commit is contained in:
Maxime GRIS
2020-04-20 19:17:15 +02:00
parent 0994e6c0b3
commit 386ce67975
18 changed files with 167 additions and 27 deletions

View File

@@ -15,6 +15,7 @@ import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { HomeModule } from './home/home.module';
import { DetailModule } from './detail/detail.module';
import { AppComponent } from './app.component';
@@ -32,6 +33,7 @@ export function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader {
CoreModule,
SharedModule,
HomeModule,
DetailModule,
AppRoutingModule,
TranslateModule.forRoot({
loader: {