Files
vercel/examples/preact
Steven 26773daf05 [tests] Add tests for examples (#9403)
These tests will run if one of the conditions is met:

- any change to `./examples`
- any changes to `./packages/frameworks`

The test ensures that examples can build and deploy without errors.

In a future PR, we could improve these tests to make requests to the
test deployment (like we do for probes).
2023-02-09 09:58:37 -05:00
..
2022-01-17 20:10:52 -06:00

Preact

This directory is a brief example of a Preact app that can be deployed to Vercel with zero configuration.

Deploy Your Own

Deploy your own Preact project with Vercel.

Deploy with Vercel

Live Example: https://preact-template.vercel.app

Running Locally

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

# run tests with jest and enzyme
npm run test