Added hash location strategy.

This commit is contained in:
Spencer Ofwiti 2021-05-12 16:37:22 +03:00
parent 603bafe23e
commit 9482fc604e

View File

@ -16,6 +16,7 @@ const routes: Routes = [
imports: [
RouterModule.forRoot(routes, {
preloadingStrategy: PreloadAllModules,
useHash: true
}),
],
exports: [RouterModule],