Preact is a fast 3kB alternative to React with the same modern API.
If you do not have the Preact CLI installed currently, use the following command to install it globally:
npm i -g preact-cli
Get started by setting up a Preact app with Preact CLI and the following command:
preact create default my-preact-app && cd my-preact-app
To deploy your Preact app with a Vercel for Git Integration, make sure it has been pushed to a Git repository.
Import the project into Vercel using your Git Integration of choice:
After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly "main") will result in a Production Deployment.
Once deployed, you will get a URL to see your app live, such as the following: https://preact.now-examples.now.sh
Set up a Preact app with a few clicks using the Deploy button, and create a Git repository for it in the process for automatic deployments for your updates.