标签: angular2-routing
在我的app.component.html中,我要说,
<header></header> <sidebar></sidebar> <router-outlet></router-outlet>
当我点击链接时,页面显示在路由器插座中,但是是否可以有一个页面显示全宽(没有标题,没有侧边栏)?
答案 0 :(得分:0)
您可以尝试使用&#34; routerLink&#34;配合:
enter link description here