Wednesday 28th December, 2022
In this article, we shall go over deploying the Next.js project to the Vercel serverless hosting platform via GitHub and VS Code terminal.
Then, go to your code editor terminal and type there:
git remote add origin and paste the copied Github repo link, press enter
Type git add . press enter
Type git commit -m initial press enter
Type git push -u origin main press enter.
After go to your Vercel dashboard, click on new project, choose your github repo from the list and import it. Then press deploy button. If everything is ok in your Next.js code, you should see successful deployment result. If no, Vercel will show you the errors, that must be imporved, after fixing them, try again. It’s simple.
You can learn more by following my social media:
Support my blog by this link: https://buymeacoffee.com/edx126
Posted by Edgar Hovhannisyan