This content originally appeared on DEV Community and was authored by Ha Tuan Em
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.
This content originally appeared on DEV Community and was authored by Ha Tuan Em
Ha Tuan Em | Sciencx (2021-07-09T15:08:18+00:00) DEPLOY NEXT.JS APP TO VERCEL. Retrieved from https://www.scien.cx/2021/07/09/deploy-next-js-app-to-vercel/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.