Skip to main content

Lit

Create a Lit project based on Farm.

Farm provides two approaches to support creating Lit projects:

  • Use the create-farm scaffold to create a scaffold project
  • You can manually create a Lit project following the current documentation

Creating a Lit Project

npm
yarn
pnpm
bun

Select Lit template in Select Framework

If you use lit then we need to configure the decorator

farm.config.ts

For more example details: React Example

Extremely Fast Web Build Tool Written in Rust

Copyright © 2024 Farm Community. Built with Docusaurus.