Best way to set up a Next.js app for Vercel: CLI or Git workflow?

If I’m creating a new Next.js app and want to host it on Vercel, what’s the best way to organize my project (its files and setup)? And for deploying it, should I use the Vercel CLI (command line tool) or connect my GitHub/GitLab/Bitbucket repository so it deploys automatically?

Hi @suheb, the project structure created using Create Next App is a great starting point.

Vercel works perfectly with the project out of the box, no additional config required.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.