在storefrontapp的src文件夹下,有index.html和index2.html:

SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

对index.html做简单的本地编辑:

SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

地址栏里输入http://localhost:4200/electronics-spa/en/USD/index.html
本地修改生效了:

SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

地址栏里输入http://localhost:4200/electronics-spa/en/USD/index2.html:
收到错误提示:Oops! We couldn’t find the page you are looking for.

SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

Spartacus试图到SAP Commerce Cloud后台去读取index2.html对应的page信息,当然会失败了:

SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP Spartacus storefrontapp不是运行在简单的tomcat服务器上

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2021-03-27
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
猜你喜欢
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-05-01
  • 2021-05-28
  • 2021-09-25
相关资源
相似解决方案