📜  url中的角度哈希符号 - Javascript代码示例

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

代码示例1
When configuring application routing in an angular project one can choose 
between regular HTML5 routing (PathLocationStrategy) or "hash-style URL" routing 
(HashLocationStrategy).

The default is PathLocationStrategy but hash-style routes can be implemented by 
passing {useHash: true} as the second parameter to the RouterModule.forRoot() function