An app for creating forms that can be embedded into pages created with Webiny Page Builder.
Use together with @webiny/api-form-builder package.
npm install --save @webiny/app-form-builder
Or if you prefer yarn:
yarn add @webiny/app-form-builder
To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.
import { plugins } from "@webiny/plugins";
import formsPlugins from "@webiny/app-form-builder/admin/plugins";
import formsCmsPlugins from "@webiny/app-form-builder/page-builder/admin/plugins";
plugins.register(formsPlugins);
Note: the formsCmsPlugins
contains plugins for the Page Builder, which will
enable you to embed forms in your pages.
import { plugins } from "@webiny/plugins";
import formsSitePlugins from "@webiny/app-form-builder/site/plugins";
import formsCmsPlugins from "@webiny/app-form-builder/page-builder/site/plugins";
plugins.register(formsPlugins);