Skip to main content
Version: 1.0.0

Vanilla

Create a Vanilla project based on Farm.

Farm provides two approaches to support creating Vanilla projects:

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

Creating a Vanilla Project​

npm
yarn
pnpm
bun
npm create farm@latest

Select Vanilla template in Select Framework

Using the vanilla template you do not need to install any other framework dependencies, just run dev to start devServer

npm
yarn
pnpm
bun
npm dev

If you need to run the build production environment product command

npm
yarn
pnpm
bun
npm build

If you need to preview your build product

npm
yarn
pnpm
bun
npm preview

For more example details: React Example

Extremely Fast Web Build Tool Written in Rust

Copyright © 2024 Farm Community. Built with Docusaurus.