Windmill Custom Component Template in React

Template for creating a custom component for Windmill using React

Getting Started

  1. Clone the project
  2. Install the dependencies
npm install
  1. Start the development server
npm run dev
  1. Open your browser to see the live result.

  2. Start editing the src/component/Component.tsx file to start building your component.

  3. Edit COMPONENT_NAME in vite.config.ts to match your component name. It will be useful later

  4. Build the iife using npm run build

  5. Upload the dist/cc.iife.js to windmill

Step 1

Step 2