我可以在本地环境的smartedit预览模式下看到spartacus店面吗?

问题描述

出于学习目的,我使用CX 2005和斯巴达克斯构建了本地开发环境。

Spartacus店面的工作就像一种魅力。 网址是http:// localhost:4200

但是在本地smartedit的预览模式下我看不到斯巴达克斯店面。 (网址为https:// localhost:9002 /smartedit。Smartdit> Spartacus Electronics网站>在线>主页)

所以我意识到iframe src中的spartacus店面的URL以https而不是http开头。

  1. 我可以将此iframe src更改为http吗,还是可以将spartacus服务器启动为http的https intead?

我引用了Using Angular CLI to serve over https locally,并使用https启动了spartacus店面,但是stil无法通过smartedit查看spartacus店面。

  1. 还是我们不需要在smartedit中看到spartacus storefont?

谢谢。

解决方法

Spartacus网站可以显示在SmartEdit中。请按照此处的步骤操作:https://sap.github.io/spartacus-docs/smartEdit-setup-instructions-for-spartacus/

我可以将此iframe src更改为http还是可以启动我的斯巴达克斯 服务器到http的https intead?

是的,建议使用HTTPS。

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...