摘要: 1:新建项目后,新增两个组件: ng g component relations/footer (子组件) ng g component relations/home (父组件) 2:引用 在app.component.html中引用home标签:<app-home></app-home> 在hom 阅读全文
posted @ 2020-01-05 19:02 毛毛球的书签 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 1:在新项目中,新增 dom-operaiton 和 sub-dom 两个组件,并且 sub-dom放入 dom-operation中 ng g component components/dom-operaiton ng g component components/sub-dom 在 dom-op 阅读全文
posted @ 2020-01-05 15:54 毛毛球的书签 阅读(534) 评论(0) 推荐(0) 编辑