Skip to content

Deploy project to Vercel #808

Answered by superdevp
monkey4618 asked this question in Q&A
Discussion options

You must be logged in to vote

You should create a vercel.json file to your Node.js project.

{
  "version": 2,
  "builds": [{ "src": "index.js", "use": "@vercel/node" }],
  "routes": [{ "src": "/(.*)", "dest": "/index.js" }]
}

I think if you add this file to your project, you can deploy your node.js project to Vercel.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@monkey4618
Comment options

Answer selected by monkey4618
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants