T
TanStack11mo ago
adverse-sapphire

How to deploy Start to Vercel?

Should i set the default presets for vite?
2 Replies
adverse-sapphire
adverse-sapphireOP11mo ago
I set the presets as vite in the Vercel deployment. I also overrid the build command to like mentioned here https://tanstack.com/router/latest/docs/framework/react/start/hosting#vercel npm run build --preset vercel
TanStack | High Quality Open-Source Software for Web Developers
Headless, type-safe, powerful utilities for complex workflows like Data Management, Data Visualization, Charts, Tables, and UI Components.
From An unknown user
From An unknown user
adverse-sapphire
adverse-sapphireOP11mo ago
Another thing is that there was a devDependency missing because I had env variable NODE_ENV=production which skips devDependencies on install in vercel

Did you find this page helpful?