Deploy App

Here, we'll look at deploying React apps with two popular Jamstack hosting providers: Netlify and Vercel.

Before your proceed

First, you'll need a project with React and Prismic. If you don't have one yet, start with the Install step.

Connect to GitHub

On GitHub, create a new repository for your project, if you don't already have one. Push your latest changes to your GitHub repository.

Deploy with Netlify

Make a Netlify account or log in, then click New site from Git.

Under the connect to git provider tab, click the GitHub button. If you haven't done so already, give Netlify access to your GitHub repositories. Then find your project repository and select it.

You don't have to change any settings on the settings page. Click deploy. It will take a moment for your site to build.

Wait for it to build, and after about a minute, you should have a React app on Netlify! 🎉

Deploy with Vercel

Make a Vercel account or log in, then click New Project to create a new site.

Continue with Import git repository. Select your GitHub repository. If necessary, adjust your GitHub app settings to allow Vercel access to the repository.

You don't have to change any settings on the settings page. Click deploy. It will take a moment for your site to build.

Wait for it to build, and after about a minute, you should have a React app on Netlify! 🎉


Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.