Skip to main content

Vite Design

Vite only — React + Tailwind + TypeScript. For Nunjucks (.njk), open Nunjucks Design.

What you design

Starter: templates/markt-vite-storefront/

Scaffold

Sellers use Theme Builder on the same Vite theme.

Required routes

Register in App.tsx with React Router.

Design rules

  1. Colors only in theme/colors.css
  2. Landing sections stay inside LandingPage.tsx
  3. Keep lib/ to the four platform files
  4. On-hold: isStoreProductOnHold(product) — disable cart / buy
  5. Respect product groups on grids
  6. Policies via LegalPolicyPage — see Policy Pages
  7. Checkout is platform-only — no payment form in the theme
Footer links use Vite paths: /privacy, /terms, /refunds.

Policy page example


Publish checklist

  • npm run build passes
  • Preview iframe shows required routes
  • Empty / loading states for catalog and policies
  • On-hold items not purchasable

Next