How to Deploy a React App to Vercel

preview_player
Показать описание
In this video I will show you how to deploy a React app to Vercel. Vercel allows you to easily deploy a front end React application with zero configuration so you can share your project with everyone. We will use Vercel’s CLI in our project to deploy from the terminal in VS Code.

Easy steps to deployment:
1. Create a vercel account
2. Open a new terminal in VS Code or other editor. Make sure you are in the root directory of your project and type: “sudo npm i -g vercel”
3. Type: “vercel” in the terminal
4. Answer the CLI prompt questions
5. Your application will then be built and deployed onto a https vercel domain

Get a free stock when you open a free account on Robinhood (up to $216.28)!
Рекомендации по теме
Комментарии
Автор

Thank you for this. I swear one of the best and worst things about Youtube is anyone can submit content like this, but most often it's people with crappy quality microphones so you can't even understand their explanations. Your words are clear, the audio is lean and I got it first time following your guide. I just deployed 2 more projects now. Thank you again.

jsonhackademics
Автор

Been having trouble using gh pages . Then I saw this. Appreciate it man. Keep it up.

shancarlbelgica
Автор

Appreciate a lot man!! Deploy without none configuration.

martinadegbolatraore
Автор

Thank you so much, I have been searching for that a long time already

robertaamaro
Автор

how about the configuration environment variables? does it pick it from the files?

hakan
Автор

We dont need to build the app first then deploy to vercel, the vercel will build it right?

sojumoscow
Автор

why u didn't deploy the build folder? LIKE Others people do u run npm run build and u deploy the build folder not the entire thing?

nested
Автор

I have successfully deployed my react app after I saw this. Can you also show how we can deploy an ssr-react-app as well? Keep it up!

dashawk
Автор

when i deployed my project nothing shows up it just white screen on the link

VishwasSaini
Автор

vercel command is not working for me!!!

baap_hon
Автор

Beginner here, does this change anything in my project, like add any code or "close/finish" the project or does it just upload my React App to Vercel? Can I keep making changes to the project and will that also be updated on Vercel or are those changes just local and do I have to keep deploying newer version to Vercel?
Asking because I would like to deploy what I have made right now to show others but my project isn't finished yet. Thanks.

worstenbroodje