📜  路由器导航离子 - Javascript代码示例

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

代码示例3
RouterModule.forRoot([
  { path: '', component: LoginComponent },
  { path: 'detail', component: DetailComponent }
]);