📜  HashLocationStrategy - Javascript 代码示例

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

代码示例1
// routing

export const routing = RouterModule.forRoot(routes, { useHash: true });
//for enabling production mode, before loading root NgModule,

import { enableProdMode } from '@angular/core';

if () {
   enableProdMode();
}