React deployment

Deploy React and Vite from GitHub.

RunYour.App supports client-rendered React applications built with Vite. It detects the repository, runs the existing build, and verifies the deployed HTTPS route.

  • React + Vite
  • React Router deep links
  • npm, pnpm, or Bun
  • Client-side Supabase

The supported React shape

  • One React and Vite application at the repository root.
  • A supported package-manager lockfile and the default dist build output.
  • An npm run build equivalent that succeeds without interactive input.
  • Browser-safe configuration supplied through declared VITE_* values.

Routing works beyond the home page

Client-side React routes are served with an SPA fallback. Refreshing or opening a route such as /dashboard directly returns the application entry point instead of a web-server 404.

What is not React SPA support

Next.js and React server-rendered applications are not admitted by the static React and Vite profile. Supported Next.js repositories use the separate Node application runtime. Monorepos and combined frontend-and-backend repositories remain outside this static profile, while a single stateless Express API uses another supported profile.

See the separate Next.js Node application runtime

Related deployment guides