Lovable to Vercel Migration Breaks Routes Due to Two Distinct Tech Stacks
Developers migrating Lovable apps to Vercel frequently encounter 404 errors because Lovable has used two different tech stacks, with the switch occurring on 13 May 2026. Projects built before that date use React and Vite as single-page apps, requiring a static host rewrite rule to serve index.html for all routes. Projects created after the switch use TanStack Start, a server-side framework that needs a build output shaped specifically for its host. For several weeks post-switch, Lovable's config package defaulted to Cloudflare builds, meaning Vercel received nothing it could run — though since July, Vercel can auto-detect current Lovable projects with no manual configuration. Beyond fixing the 404, teams must also address environment variables, authentication secrets, database connections, and redirect URLs that remain tied to the original Lovable domain.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in