SAP

为什么 SAP Spartacus 不手动导入 UserAcco

2021-10-02  本文已影响0人  华山令狐冲

在一个工作正常的 SAP Spartacus 页面,layout 结构依次是 cx-page-layout(LoginPageTemplate),cx-page-slot(LeftContentSlot), cx-login-form.

在一个没有导入 UserAccountModule 的 Storefront,Login 页面是空的:

出错的情况下,LeftContentSlot 这个 page slot 里的内容为空:

这个 LeftContentSlot 里放什么 Component?

在 CMS 里维护:


应该显示 ReturningCustomerLoginComponent 和 ReturningCustomerRegisterComponent.

再根据这两个关键字,就能搜索到user-account-root.module.ts 了:

UserFeatureModule 导入了 UserAccountRootModule:

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


上一篇 下一篇

猜你喜欢

热点阅读