Template Structure
Vite theme (default)
Canonical starter:templates/markt-vite-storefront/Full rules:
templates/TEMPLATE-STRUCTURE.md
Required routes
Hard rules
lib/= those four files only (no duplicate API clients)components/flat exceptcomponents/ui/- Landing sections live inside
LandingPage.tsx - Colors only in
theme/colors.css npm run buildmust pass before publish
Scaffold
Nunjucks theme
Policy body fields:
store.policies.privacy / terms / refund (seller Configure). Full guide: Policy & Legal Pages.
Context + filters: Nunjucks Theme API.