美文网首页SAPSAP 实用篇SAP
SAP Spartacus cx-page-slot

SAP Spartacus cx-page-slot

作者: 华山令狐冲 | 来源:发表于2021-02-13 10:30 被阅读0次

我在SAP Spartacus处于运行状态(即ng serve)始终处于运行状态时,进行代码热修改,经常遇到此类错误消息


退出ng serve,重新执行即可:


Storefront.component.html里包含了整个Storefront layout的框架:

page-layout.component.html里,用async将slots$展开,再用cx-page-slot将页面展示出来:

slot值:SiteLogo

page-slot.component.html:

更多Jerry的原创文章,尽在:"汪子熙":


相关文章

网友评论

    本文标题:SAP Spartacus cx-page-slot

    本文链接:https://www.haomeiwen.com/subject/tzalbktx.html