@aot-technologies/formsflow-formio-custom-elements
v1.0.2
Published
Custom FORMIO elements for Formsflow project.
Downloads
1,761
Maintainers
Keywords
Readme
formsflow-formio-custom-elements
This is a collection of custom FORMIO components and templates for Formsflow.ai project.
Build
- To create Build with all dependencies
npm run build
Output file name : customformio.js
- To create build by excluding form-io dependencies so that it can resolve it from consumer application.
npm run buildExcludeFormio
Output file name : customformio-ex.js
Consumer projects
Formsflow.ai API in forms-flow-ai\forms-flow-api\src\formsflow_api\templates\index.html
Including direct js
<script src="https://unpkg.com/formsflow-formio-custom-elements/dist/customformio.js"></script>
Formsflow.ai WEB in forms-flow-ai\forms-flow-web\src\index.js
npm install formsflow-formio-custom-elements --save
import { Components } from "react-formio";
// Set custom formio elements - Code splitted
import("formsflow-formio-custom-elements/dist/customformio-ex").then(
(FormioCustomEx) => {
Components.setComponents(FormioCustomEx.components);
}
);