HashlocationStrategy
// routing
export const routing = RouterModule.forRoot(routes, { useHash: true });
//for enabling production mode, before loading root NgModule,
import { enableProdMode } from '@angular/core';
if (<condition to enable production mode>) {
enableProdMode();
}
Mobile Star