David Peng
David Peng
We made a plugin with `unplugin` https://github.com/storipress/unplugin-eta
Try this. `useRepcaptchaProvider` performs the key check when you call it. You can just add a if to prevent this ```ts if (process.env.NUXT_RECAPTCHA_ACTIVE) { useRecaptchaProvider() } `
Hey @NicoleKuong @kost1k @GuillaumeDgr @RomanGovor, could you please provide a reproducible example?
Thank you, @ItsMeRomian. I tested it using the reproducible example provided by @GuillaumeDgr and confirmed that it resolves the issue. I have released a new version that includes this fix...
Maybe try to wrap `useChallengeV3` with runWithContext https://vuejs.org/api/application.html#app-runwithcontext
I tried to use a simple project created by `create-vue` with the provided code and can't reproduce this. Could you provide a reproducible example with the build config?
Hi @mateusfmello, Thanks for reporting this, and sorry for the late reply. I'd prefer option 2 with a little improvement. We can add an `id` or `data-vue-recaptcha` to the script...
Please don't name your component as `VueRecaptcha`. It will cause a conflict in vue's component resolution. ```vue // ... export default { // name: 'VueRecaptcha', // don't do this, named...
To make it tree-shake able, v3 does not register these components to global. You need to import them in your code ```ts import { Checkbox } from 'vue-recaptcha' ```
If you see an error like this in a Nuxt project. It usually means adding the package name to `build.transpile` in nuxt.config.ts.