SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
744 stars 389 forks source link

Enable multisite in schematics #5300

Closed Platonn closed 4 years ago

Platonn commented 5 years ago

Now to enable auto-config, customer needs just to omit the config for context.baseSite (thanks to https://github.com/SAP/cloud-commerce-spartacus-storefront/issues/1810). At the same time it's recommended not to have any context config, because it will be overwritten with the one from backend. So we need a way to omit producing config for context.baseSite in schematics - just to enable auto config of the site.

psmul commented 4 years ago

QA steps:

Expected result: Schematics should apply Spartacus adjustments & omit context property in Storefront configuration