Do aux routes work for the root component only?

后端 未结 2 1347
旧时难觅i
旧时难觅i 2021-01-13 00:41

I\'m having trouble setting up auxiliary routes in child components, for some reason only those auxiliary routes work that start at the root component.

Here\'s my ro

2条回答
  •  旧时难觅i
    2021-01-13 01:26

    some working example click here

    important points

    Component One
    
    @Component({
      selector: 'component-one',
      template: `Component One
        
    Sidebar Outlet:
    ` })

提交回复
热议问题