【发布时间】:2020-09-23 11:43:22
【问题描述】:
我正在尝试在我们的 spartacusstorefront 中设置 SmartEdit。我们使用基于 spartacussampledataaddon 的自定义扩展。
按照以下说明进行操作:https://sap.github.io/spartacus-docs/smartEdit-setup-instructions-for-spartacus/
但是在 smartedit 中,我们得到了这个错误: 未找到 SmarteditElementComponent 的组件工厂。你有没有把它添加到@NgModule.entryComponents
任何指针
【问题讨论】:
-
看看这是否对你有帮助:answers.sap.com/answers/13005689/view.html 告诉我们进展如何。
-
谢谢。我会遵循这个。但是对于这一步:ant addoninstall -Daddonnames=smarteditaddon -DaddonStorefront.yacceleratorstorefront=
我应该选择哪个店面,因为 spartacus 是无头店面。 -
我遵循了其他步骤。 1.添加了smartedit所需的扩展。 2. ant addoninstall -Daddonnames="smarteditaddon" -DaddonStorefront.yacceleratorstorefront="electronicsstore" 3. 更新之前包含的扩展系统。 4. ant npminstall 5. ant build 6. 启动服务器。还是一样的错误。
-
我认为您可以跳过店面的插件安装。
-
@geffchang 跑题了,但实际上可能有人喜欢在一个平台上混合使用 Spartacus 店面和加速器店面。在多站点设置中,一些品牌/商店正在经营其他店面,或者在客户逐步过渡到 Spartacus 的情况下。
标签: java hybris spartacus-storefront