Skip to main content
FarmFarm
Version: 1.x
On this page

Overview

To use a Rust plugin, configuring plugins in farm.config.ts.

ts
import { defineFarmConfig } from '@farmfe/core';

defineFarmConfig({
  // ...
  plugins: [
    { /*..*/ }, // Js plugin, a object with hook defined
    '@farmfe/plugin-react', // rust plugin package name
  ]
})

Farm support both rust plugins and js plugins:

100%

Drag or pinch to explore. Keyboard: + / − zoom, arrows pan, 0 resets, Esc closes.