CMS page label必须是下列列表里其中之一:
Spartacus expects the page label homepage to be configured in the CMS. For B2C Storefront recipe the list of expected CMS page labels by default is longer:
search
/login
/logout
/login/register
/login/forgot-password
/login/reset-password
/terms-and-conditions
/cart
/checkout
/checkout/shipping-address
/checkout/delivery-mode
/checkout/payment-details
/checkout/review-order
/order-confirmation
/my-account/order
/my-account/orders
/not-found
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
For almost all Content Pages, Spartacus treats the URL as the CMS page label. It means that changing the config of route in Spartacus requires also a change of the page label in the CMS.
对于content page来说,如果Spartacus里的route config的url发生变化,需要到CMS里修改对应的page label.