create-vite-extra icon indicating copy to clipboard operation
create-vite-extra copied to clipboard

How to Deploy React SSR with TS on Vercel?

Open rutvik106 opened this issue 1 year ago • 1 comments

I have cloned this project https://github.com/bluwy/create-vite-extra/tree/master/template-ssr-react-ts and now trying to deploy it on Vercel. But it is not working on Vercel.

What needs to be done or configured to make this SSR project run on Vercel? Or should I shift the project from Vercel to somewhere else?

Thank you.

rutvik106 avatar Jul 21 '24 06:07 rutvik106

The SSR setup is a normal NodeJS server (using express) that you can start up with node server.js after you've run vite build to build the files. Perhaps https://vercel.com/guides/using-express-with-vercel helps? Any deployment platform that can run your site with a NodeJS server will do.

bluwy avatar Jul 22 '24 08:07 bluwy