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中聲明 注意:
相關文章
相關標籤/搜索