How to deploy Start to Vercel?
Should i set the default presets for vite?
2 Replies
adverse-sapphireOP•11mo 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.

adverse-sapphireOP•11mo 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