Nuxt 4 client and Nuxt UI v4 renderer for FormForge.
CI MIT License Nuxt 4.x Nuxt UI 4.x
Full documentation is available at:
Use this README as a quick start only.
- Nuxt
4.x @nuxt/ui4.x- Node.js
>=20or Bun>=1.3
bun add @evanschleret/formforgeclient
// nuxt.config.ts export default defineNuxtConfig({ modules: ['@nuxt/ui', '@evanschleret/formforgeclient'], formforgeClient: { baseURL: '/api/formforge/v1', credentials: 'include' } })
<script setup lang="ts"> const route = useRoute() </script> <template> <FormForgeRenderer :form-key="String(route.params.form)" /> </template>
// nuxt.config.ts export default defineNuxtConfig({ formforgeClient: { baseURL: '/api/formforge/v1', scopedRoutes: { team: { prefix: 'teams/{team}', paramsFromRoute: { team: 'team' } } }, defaultScope: 'team' } })
const management = useFormForgeManagement() const forms = await management.listForms(false)
- Backend package: evanschleret/formforge
- Security policy: SECURITY.md
- Contributing: CONTRIBUTING.md
- License: LICENSE