Create a shop
Every shop is one folder under apps/: its pages, components and its single config file. The engine is shared.
-
Copy the reference theme:
Terminal window cp -r apps/theme apps/shop-eu -
Edit
apps/shop-eu/magenx.config.ts: endpoint, currency, brand, features, navigation and store views. See Configuration. -
Install, so npm links the new workspace:
Terminal window npm install
Change colours
Section titled “Change colours”All colours are CSS custom properties in src/app/globals.css. Override them per shop without touching components:
:root { --primary: 220 90% 56%; --primary-foreground: 0 0% 100%;}For anything beyond config and colours, see Customising a fork.