Tracking: white-label refactoring (extract brand, enable Nuxt layers) #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracking: White-label refactoring of libreshop/shop
Why
libreshop/shop currently ships with MUELLERPRINTS branding, Stuttgart contact data, and notebook-specific copy hardcoded across 27 files. This blocks reuse by other adapters (third-party shops based on libreshop). The companion adapter
libretech/mpconsumes this image and cannot override pages, components, or composables — only runtime env vars.The companion repo
libretech/mpneeds to consolidatemuellerprints.de(Druckerei) andmuellerprints-paperwork.com(Shop) under one domain. To do that cleanly without forking libreshop/shop, we need libreshop/shop to become a true white-label base.Goal
libreshop/shop becomes a brand-neutral Nuxt 3 base image. Adapters extend it via Nuxt layers (native
extends:mechanism). All branding, contact data, legal copy, and brand-specific feature narratives are overridable via the layer or driven by app config / env vars.libreshop/shop still ships with real default content (a generic example "Demo Print Shop" with placeholder assets) so the bare image is deployable and demonstrable on its own.
Architecture decisions (locked)
extends:) — native Nuxt 3, NOT a custom Strapi-style file-precedence system.git.librete.ch/libreshop/shop:vX.Y.Z— white-label basegit.librete.ch/libretech/mp-shop:vA.B.C— branded adapter (built FROM base)Header,Footer,Hero,TrustBar,ProductCard,PageSection, layoutsdefault/bare/deep, composablesuseBranding(),useNavigation(),usePageContent(). Internal components have no stability guarantee.Sub-issues
This issue tracks the refactor. Concrete work items as separate issues:
extends:layer support + document stable override surface (README)Out of scope
Companion tracking issue
libretech/mp adapter rebuild: see https://git.librete.ch/libretech/mp/issues (linked once mp tracking issue is filed)