摘要:
**文中使用的工具或者包的版本:**Angular CLI 11.0.6 **文中 Demo 链接:**https://stackblitz.com/edit/angular-route-outlet-3crvst 配置 首先我们在模板中定义多个路由出口,比如: <router-outlet></r 阅读全文
摘要:
**文中使用的工具或者包的版本:**Angular CLI 11.0.6 **文中 Demo 链接:**https://stackblitz.com/edit/angular-route-params-xuspvu 一、路径参数 配置 { path: 'route1/:id', component: 阅读全文