This guide will show you how to deploy a Preact site and get your domain set up.
React is a JavaScript library for building user interfaces, Preact is a fast 3kB alternative to React with the same modern API. There are multiple ways to build a React site, including:
Vercel is a platform for deploying the fastest Preact sites. You can deploy your site with zero configuration to the best frontend infrastructure.
Vercel has integrations for GitHub, GitLab, and Bitbucket to enable CI/CD for your Preact site with zero configuration. Then, you can run automated tests for performance and reliability on every push. Pull and merge requests are deployed instantly to a unique URL, accessible to your entire team.
After deploying, your new Preact site will automatically be assigned a .vercel.app suffixed domain. You can then add a Custom Domain on your choice, either from a third-party or purchased through Vercel.
vercel to deploy.