如何在 SAP Spartacus 里添加自定义页面 - Custom Page
網友提問
Add a custom page to Spartacus
I would like to add a custom sub page (http://localhost:4200/image-upload) to spartacus. The Header and Footer should be the same. Just the content should be an upload form.
三個步驟
Spartacus routing should handle it OOTB. https://sap.github.io/cloud-commerce-spartacus-storefront-docs/adding-and-customizing-routes/
默認頁面的標志位:
可以用SAP Spartacus 默認的layout配置,或者自定義。
3.Implement Angular CMS components that should appear on this page and configure mapping from CMS component type to the implementation https://sap.github.io/cloud-commerce-spartacus-storefront-docs/customizing-cms-components/#page-title
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的如何在 SAP Spartacus 里添加自定义页面 - Custom Page的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SAP Spartacus 自定义 Pa
- 下一篇: Quadro P5200 –