Closed jmj4you closed 6 years ago
I tried following code but it doesn't work. Please help me I am new in Angular
@NgModule({ imports: [RouterModule.forRoot(routes,{useHash: false})], exports: [RouterModule] }) export class LazyLoadModule { }
Now solved, I was added this code // {provide: LocationStrategy, useClass: HashLocationStrategy},
I tried following code but it doesn't work. Please help me I am new in Angular
@NgModule({ imports: [RouterModule.forRoot(routes,{useHash: false})], exports: [RouterModule] }) export class LazyLoadModule { }