InVue3, add it to yourmain.ts file: import{createApp}from"vue";importAppfrom"./App.vue";import{install}from"vue3-recaptcha-v2";createApp(App).use(install,{sitekey:"YOUT_SITE_KEY",cnDomains:false,// Optional, If you use in China, set this value true}).mount("#app"); ...
reCAPTCHA v2 for Vue3 : CompositionAPI, Types. Contribute to Dongkyuuuu/vue3-recaptcha-v2 development by creating an account on GitHub.
1.收集API密钥-您可以在此处注册(https://developers.google.com/recaptcha/intro)1.在您的终端中,...
根据您在下面第一个答案中的回复,看起来您正在使用vue-recaptcha 3.0.0-alpha版本。您应该使用https://www.npmjs.com/package/vue-recaptcha/v/2.0.3这个版本,因为它可能是最稳定的版本。 尽管如此,这个版本的文档说明需要将提交按钮与vue-recaptcha一起包装起来。 <VueRecaptcha class="full-width" :sitekey="...
Hi. I'm using it with Vite and got this error in dev mode: vue3-recaptcha-v2 doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry p...
reCAPTCHA v2 for Vue3 : CompositionAPI, Types. Contribute to Dongkyuuuu/vue3-recaptcha-v2 development by creating an account on GitHub.
Please refer to [CHANGELOG.md](https://github.com/DongKyuuuu/vue3-recaptcha-v2/blob/main/CHANGELOG.md) for details. 3 changes: 2 additions & 1 deletion 3 package.json Original file line numberDiff line numberDiff line change @@ -30,7 +30,8 @@ "scripts": { "build": "vite build...
In Vue3, add it to your main.ts file:import { createApp } from "vue"; import App from "./App.vue"; import { install } from "vue3-recaptcha-v2"; createApp(App) .use(install, { sitekey: "YOUT_SITE_KEY", cnDomains: false, // Optional, If you use in China, set this value ...
$ npm install vue3-recaptcha-v2 --save Example Setup // main.js import { createApp } from "vue"; import App from "./App.vue"; import VueRecaptcha from "vue3-recaptcha-v2"; const app = createApp(App); app .use(VueRecaptcha, { siteKey: "your recaptcha sitekey", alterDomain: false...
In Vue3, add it to your main.ts file:import { createApp } from "vue"; import App from "./App.vue"; import { install } from "vue3-recaptcha-v2"; createApp(App) .use(install, { sitekey: "YOUT_SITE_KEY", cnDomains: false, // Optional, If you use in China, set this value ...