Template for creating a custom component for Windmill using React
- Clone the project
- Install the dependencies
npm install
- Start the development server
npm run dev
-
Open your browser to see the live result.
-
Start editing the
src/component/Component.tsx
file to start building your component. -
Edit COMPONENT_NAME in
vite.config.ts
to match your component name. It will be useful later -
Build the iife using
npm run build
-
Upload the
dist/cc.iife.js
to windmill