Anyone can share their package.json for deploying prisma to vercel?
I'm looking at this tutorial https://www.prisma.io/docs/guides/deployment/deployment-guides/deploying-to-vercel#vercel-build-hook
and it says to use vercel-build instead build
My goal is to apply migration whenever i push to github and vercel (both for staging and production)
any help would be appreciated. Thanks!
Prisma
How to deploy a Prisma app to Vercel
Learn how to deploy to Vercel a Next.js app that uses a serverless REST API in conjunction with Prisma Client.
1 Reply
But i don't think they is anything different with hosting a regular next js app and hosting a t3 app on vercel
Everything goes straight for me
So not see the need for package.json