Add Nuxt extends: layer support + document stable override surface
#6
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?
Part of #2
Problem
libreshop/shop's
nuxt.config.tsdoes NOT useextends:. Adapters cannot extend it as a Nuxt layer without forking.Native Nuxt 3 layer mechanism overrides per-path:
pages/,components/,layouts/,plugins/,server/,public/,assets/,composables/,app.config.ts. NOT auto-merged:tailwind.config.ts,package.json,runtimeConfigdefaults (env precedence at runtime).Acceptance
nuxt.config.tsis consumable as a layer (export default config, no side-effecty hooks that break composition)READMEsection "Extending libreshop/shop as a Nuxt layer" with concrete adapter exampleHeader,Footer,Hero,TrustBar,ProductCard,PageSectiondefault,bare,deep(introduce if missing)useBranding(),useNavigation(),usePageContent()Background,Carouselsubcomponents) — no override stability promise