A collection of Kissflow custom components.
Note: Do not clone the repo using the default git clone
command provided by github,
the git submodules won't be cloned and the packages
present in the repo won't build/serve.
To clone the repo (including all the git submodules),
git clone --recurse-submodules https://github.com/shibisuriya/kf-custom-form-fields.git
pnpm
is required to work with this repo since it is a 'pnpm workspace'.
To install pnpm
,
npm install -g pnpm
Then install the repo's dependencies using pnpm,
pnpm install
Change directory to the custom component that you want to build/serve,
For example,
cd ./custom-components/form-field/text-texteditor
To build the custom component and create a .zip file that can be uploaded to Kissflow,
pnpm run zip
To serve the custom component for development,
pnpm run dev