This commit is contained in:
Čarodej
2022-02-05 12:30:02 +01:00
parent 6980c28c57
commit 38e86b4b8b
9 changed files with 41 additions and 123 deletions

15
resources/js/main.js vendored
View File

@@ -20,12 +20,15 @@ Vue.use(ValidatorHelpers)
Vue.use(functionHelpers)
Vue.use(AlertHelpers)
Vue.use(itemHelpers)
Vue.use(VueReCaptcha, {
siteKey: config.recaptcha_client_id,
loaderOptions: {
autoHideBadge: true,
},
})
if (config.allowedRecaptcha) {
Vue.use(VueReCaptcha, {
siteKey: config.recaptcha_client_id,
loaderOptions: {
autoHideBadge: true,
},
})
}
Vue.config.productionTip = false