📜  未处理的导航错误:angular dist build - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:02.196000             🧑  作者: Mango

代码示例1
import { LocationStrategy, HashLocationStrategy} from '@angular/common';


@NgModule({
 ...
 ],
 providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }]
})