Using hash strategy
// app.config.ts
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideAnimations(),
{provide: LocationStrategy, useClass: HashLocationStrategy}
]
};
Give these a read
// app.config.ts
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideAnimations(),
{provide: LocationStrategy, useClass: HashLocationStrategy}
]
};
Give these a read