From 4122191ab9875f220eecbec6b83dc8dd1842724e Mon Sep 17 00:00:00 2001 From: Sachin Shingade <39953508+sachinshingade@users.noreply.github.com> Date: Wed, 7 Oct 2020 13:12:46 +0530 Subject: [PATCH] Added Hash to layout module for navigation --- src/app/layout/layout-routing.module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/layout/layout-routing.module.ts b/src/app/layout/layout-routing.module.ts index e8ff28e..6824049 100644 --- a/src/app/layout/layout-routing.module.ts +++ b/src/app/layout/layout-routing.module.ts @@ -15,7 +15,9 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forChild(routes)], + imports: [RouterModule.forChild(routes),{ + useHash: true + }], exports: [RouterModule] }) export class LayoutRoutingModule {}