https://localhost:9002/smarte...
https://localhost:9002/backof...
backoffice 里,把 Spartacus website 的 WCMS cockpit preview url,改成本地 Spartacus url:
http://localhost:4299/powerto...
留神把后面的 https 去掉。
确保这个 url 本地拜访没有问题。
点击 Pages,创立新的页面:
当 Storefront 无奈渲染时,首先查看 SPA Powertools 这个 site 在 Backoffice WCMS 里的设置是否正确:
关上 Spartacus powertools Site,切换到 WCMS properties,查看 WCMS Cockpit Preview URL:
这个 URL 必须在本地能够拜访才行:
https://localhost:4200/powert...
http://localhost:4200/powerto...
更多Jerry的原创文章,尽在:"汪子熙":