@easy-cms/plugin-form-builder
v0.24.0
Published
Forms for Easy CMS: build forms in the admin, collect submissions, email notifications, spam protection and an <easy-form> element
Maintainers
Readme
@easy-cms/plugin-form-builder
Forms for Easy CMS: editors build them in the admin, submissions are validated, stored and emailed, bots are kept out (honeypot, timing, rate limits, Cloudflare Turnstile), and <easy-form> puts a form on any page. Part of Easy CMS, the embedded, code-first headless CMS for Nuxt and Next.js.
Install
npm install @easy-cms/plugin-form-builderOr pnpm add, yarn add or bun add.
Usage
import { formBuilderPlugin } from '@easy-cms/plugin-form-builder'
export default defineConfig({
// …
email: smtp(), // from @easy-cms/email-smtp, for notifications
plugins: [formBuilderPlugin({ defaultTo: '[email protected]' })],
})<script type="module" src="/api/cms/form/element.js"></script>
<easy-form form="contact"></easy-form>Links
Forms · Documentation (ภาษาไทย) · GitHub
MIT License
