Usage Basic Usage <template> <vue-hcaptcha :sitekey="**Your sitekey here**" root="**application_or_component_root_component**"></vue-hcaptcha> </template> The two required props are the sitekey and root component. The component will automatically include and load the hCaptcha API library...
hCaptcha Component Library for Vue.js. Compatible with Vue 2 and 3. Installation You can install this library via npm with: vue2:npm install @hcaptcha/vue-hcaptcha --save vue3:npm install @hcaptcha/vue3-hcaptcha --save or via yarn: ...
"main": "./dist/@hcaptcha/vue-hcaptcha.umd.min.js", "module": "./dist/@hcaptcha/vue-hcaptcha.common.js", 5 changes: 3 additions & 2 deletions 5 packages/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@hcaptcha/vue3-hcaptcha", "version": "1.2.0", "version": "1.2.1"...
<template>...<hcaptchavue3...validateendpoint="https://xyz.com/validate":inclcredentials=true></hcaptchavue3>...</template> 如果需要向服务器发布其他字段,可以在默认插槽中添加input元素。 注意:只传递hidden类型的input字段 <template>...<hcaptchavue3...></hcaptchavue3>...</template> Request on...
<vue-hcaptcha sitekey="**Your sitekey here**"></vue-hcaptcha> </template> import VueHcaptcha from '@hcaptcha/vue-hcaptcha'; export default { ... components: { VueHcaptcha } }; The component will automatically include and load the hCaptcha API library and append it to the root component...
Vue.js hCaptcha Component Library. Contribute to hCaptcha/vue-hcaptcha development by creating an account on GitHub.