Vite Design
Vite only — React + Tailwind + TypeScript. For Nunjucks (.njk), open Nunjucks Design.
What you design
Starter:
templates/markt-vite-storefront/
Scaffold
Required routes
Register in
App.tsx with React Router.
Design rules
- Colors only in
theme/colors.css - Landing sections stay inside
LandingPage.tsx - Keep
lib/to the four platform files - On-hold:
isStoreProductOnHold(product)— disable cart / buy - Respect product groups on grids
- Policies via
LegalPolicyPage— see Policy Pages - Checkout is platform-only — no payment form in the theme
/privacy, /terms, /refunds.
Policy page example
Publish checklist
npm run buildpasses- Preview iframe shows required routes
- Empty / loading states for catalog and policies
- On-hold items not purchasable