Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying Strapi in Vercel

I have a nextjs app deployed to Vercel, and am trying to deploy the Strapi cms that manages it to Vercel too, as it would be easier to maintain both on the same service.

The Strapi repo builds fine, and everything is green, but I either see a 404 if all settings are default, or a blank page if I set the build folder to be "build".

I'm sure it should be a simple fix, but I can't figure it out, has anyone done this?

like image 207
user1003572 Avatar asked Jan 28 '21 10:01

user1003572


People also ask

Can I deploy Strapi on vercel?

We cannot host strapi on vercel is cause vercel is front end focused hosting. In that case Hosting on amazon lightsail would help you reduce the cost for hosting the Strapi application.

Where can I deploy Strapi project?

Your Strapi applications can be deployed on traditional hosting servers or your preferred hosting provider.


1 Answers

I don't think there's a way to deploy Strapi to Vercel.

Vercel is a frontend focused deploy service, while Strapi is a backend tool with a web interface.

like image 81
gfpacheco Avatar answered Sep 27 '22 18:09

gfpacheco