SAP Spartacus cms-components.service.ts里的config.cmsComponents

时间:2022-07-26
本文章向大家介绍SAP Spartacus cms-components.service.ts里的config.cmsComponents,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。
// we use defer, to be sure the logic below used to compose final observable
      // will be executed at subscription time (with up to date state at the time,
      // when it will be needed)

this.config.cmsComponents里维护了所有cms Component和SAP Spartacus Angular Component的一一对应关系: