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
With your project set up, you are ready to deploy your Preact app with ZEIT Now.
If you have not yet installed Now, you can do so by installing Now CLI.
You can now deploy your Preact app with a single command:
If you want to deploy your Preact project from a Git repository, you can use either Now for GitHub or Now for GitLab to have your project automatically deployed on every push, and aliased on push to master.