我正在尝试使用 SPARTACUS 5.2 设置 SmartEdit,我尝试按照下面的文档进行操作
我可以登录,但顶部缺少透视工具栏。也将处于加载状态,如下所示。
以下是斯巴达克斯的变化
{ "glob": "**/*", “输入”:“node_modules/@spartacus/smartedit/assets”, “输出”:“资产/” }
provideConfig(<SmartEditConfig>{
smartEdit: {
storefrontPreviewRoute: 'cx-preview',
allowOrigin: 'localhost:9002',
},
}),
["https://localhost:4200"]
但是,我的 SmartEdit 显示加载状态
我检查了网络选项卡,但没有看到 webApplicationInjector.js 调用失败,它给出 200 OK
我还缺少其他配置吗?谢谢你的帮助