Developer guide

Nuxt: Props

These are the inputs accepted by the Nuxt integration. Event callback props are also shown where the framework uses callbacks instead of emitted template events.

NameTypeDefaultDescription
spacestringThe space ID that owns the form. Required.
formstringThe form ID to render. Required.
languagestring'en'Translation key used by the form UI.
configUserConfig{}Action settings, translations, and class-name mappings.
initialFormDataFormundefinedPreloaded form data. Skips the initial client-side request when supplied.
getFormData(space, form) => Promise<Form>undefinedOptional server-side form loader.
Server-side data

Use getFormData(space, form) to provide a custom server-side loader, or initialFormData when your application has already loaded the form.