标签: html angular typescript routes
我的页面上有 Angular 路由,所以 /.../abc 必须在 abc-component 标签后显示 router-outlet,但我想显示两次,这就是为什么页面有两个 router-outlet ,但只有 parent-component.html 中的最后一个可用于组件更改。
/.../abc
abc-component
router-outlet
parent-component.html
Angular 提供了对 outlet 的命名,但是它适用于有多个组件的情况,但是我只需要复制一个组件并同时放置在不同的页面部分,那怎么办?