📜  pathmatch angular - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:26.293000             🧑  作者: Mango

代码示例1
content_copy
      
      [{
  path: '',
  pathMatch: 'full',
  redirectTo: 'main'
}, {
  path: 'main',
  component: Main
}]