angular中的组件嵌套

1 创建3个包: header-module main-module sliderbar-module 2 在header-module创建三个组件 header-center heder-left header-right 3 z将三个组件嵌套入header-module包里面 1):在header-module.modules.ts文件中引入三个组件,且在declarations中声明 注意:
相关文章
相关标签/搜索