DEPLOY NEXT.JS APP TO VERCEL
Ha Tuan Em
Posted on July 9, 2021
Someone want to me make a post for explain how to deploy NEXT.JS application to Vercel. Base on require of them I will make a post. Hope, it will help something to you.
I. Initial Next.js app or you can clone my shopping cart repository
create-next-app shopping-cart
II. After creating your application, commit them to Github.
git add .
git commit -m "Complete project"
III. Create project in Vercel
IV. Import project or you can search by name of repository.
V. Configure application
- You can add
env
as MONGOURI or SERECTKEY, ... in boxEnvironment Variables
. - Override command of application in box
Build and Output Settings
VI. Deploy and done
- Enjoy your time 🪴
Thank you for reading.
💖 💪 🙅 🚩
Ha Tuan Em
Posted on July 9, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.