Built a landing page with v0.dev, How to use github with Vercel?

Hi Vercel community,

I’m new to Vercel and I built a landing page using v0.dev and deployed it to Vercel. I connected my github account but I don’t know how to push the code to github.

Now the landing page is public on one of my domains but I don’t know how to edit the code.

So what I’l looking for is to push the code generated by v0 to a github repo and start working on that repo and push new versions to Vercel. What is the workflow I should use in this case?

Also what is the workflow if I want to use v0 for the same project but for different pages (ie.: adding the menu pages)

Thanks in advance.

Hi @ccarpenterg, welcome to the Vercel Community!

Congratulations on deploying your first v0 project successfully.

I see that you want to keep the project as a GitHub repository and push changes from local. To do that, you can use the Add to Codebase button on the v0 top menubar.

Running the npx command will create a local project for you, that you can work locally with and push to GitHub. You can also link this repository to the existing v0 project or create a new project linked to this repository. This way all the new commits will be deployed automatically to Vercel.

I hope this was helpful.

Hi @anshumanb , thanks for your answer. That’s very helpful.

So v0.dev is using some node.js framework (and React I think), what frameworks should I use to continue the development on my local machine? (I’m using Windows)

I used to write code in Python and although I’ve created a couple of projects using some node.js and React like frameworks, this React-like frameworks are very new to me.

Hi @ccarpenterg, v0 uses Next.js for a full stack application, which is a top-notch framework used by world leading brands.

That being said you can use whatever framework you find easy and productive for yourself.

You can pick any of the following runtimes and frameworks that Vercel supports.

I hope this was helpful.

1 Like

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