摘要: 我们通过一个NgModule来启动一个ng app,NgModule通过bootstrap配置来指定应用的入口组件。 在 declarations 可以配置sub_component 如下构造一个TestComponent: 阅读全文
posted @ 2017-01-04 13:23 王仲春 阅读(250) 评论(0) 推荐(0) 编辑