Configuration
Use the form key in your nuxt.config.ts file to configure all options:
JS
export default defineNuxtConfig({
runtimeConfig: {
public: {
recaptchaSitekey: ''
}
},
form: {
recaptcha: false
hide_recaptcha: false
mask: true
default_styles: true
messages: object,
lang: 'en',
format_layers: []
}
}Options
recaptchaSitekeySet it to return the Recaptcha key if needed. It will automatically return the key located in the .env file.recaptchaSet it totrueif you use Recaptcha.hide_recaptchaHide the Recaptcha badge.maskEnable input mask option. See Maskdefault_stylesLoads simple default styles for all components.messagesOverwrite default form messages. See Messageslang:en|frMake a pull request with new language if neededformat_layersList of layers if usingFormGenerator. SeeModelFormatter