Open bigggge opened 7 years ago
比如,登录页面我可能不需要一些公共的html
你把app.component中的公共模板也变成组件,登录页面控制不要显示不就行了
app component 只保留 router-view 就行了
利用路由来控制:https://github.com/hstarorg/ngx-modular-platform/blob/master/src/app.routing.ts
比如,登录页面我可能不需要一些公共的html