SAPSAP 实用篇SAP

SAP Spartacus cx-page-slot

2021-02-13  本文已影响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的原创文章,尽在:"汪子熙":


上一篇 下一篇

猜你喜欢

热点阅读