For each website page, you need to have an angular template. In other words, if you create a page in CMS Cockpit or SmartEdit, you will need to ask developers to add this page in the Angular code too.
The system is not capable yet to pull new pages from the WCMS automatically.
搜索关键字:cmscomponentmapping
CmsComponentMapping的字段component,存放的是Angular Component的class.
在cms-components.service.ts里打印出CMS Component对应的Angular Component class:
比如SimpleResponsiveBannerComponent对应的Angular Component是BannerComponent,位于storefront/src/cms-components文件夹下:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":