~/talk

Efficient multisite setup with Nuxt Layers

Talkat Nuxt Nation 2024 · 2024-11-12..11-13· [frontend-architecture]
slides:none on file

Concrete recipe for one codebase deployed as separate sites using Nuxt Layers: use inheritance-based file overrides to stack a base layer with per-store layers, pick the active site via an ENV var, and override only files you need. Normalize vendor APIs into a shared product shape so one product component serves Shopify/Vendure data, and isolate theme differences with per-store CSS variables plus separate CSS files. Repo with the minimal example is published.

AI-written summary · about

  1. 0:00Introduction
  2. 4:13Multi-site efficiency problem
  3. 9:12Composable architecture benefits
  4. 13:49Solution: inheritance and layers
  5. 18:02Live demo: multi-site setup
  6. 28:52Key takeaways and Next.js
  7. 29:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.