Preact
Create a Preact project based on Farm.
Farm provides two approaches to support creating Preact projects:
- Use the
create-farmscaffold to create a scaffold project - You can manually create a
Preactproject following the current documentation
Creating a Preact Project
Select Preact template in Select Framework
Preact
For Preact support, Farm recommends using Vite plugins.
farm.config.ts
If you want to start DevServer
If you need to run the build production environment product command
If you need to preview your build product
For more example details: Preact Example
