Open Prixii opened 6 months ago
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?
I had this issue using 3.0.0-alpha.2, switched to 3.0.0-alpha.6 and it worked fine.
Description
i'm tring to use
Checkbox
in vue3, but console is outputting: Error: useRecaptcha() is called without provider. i've tried to calluseRecaptchaProvider()
inApp.vue
andLogin.vue
, but it didn't work.Minimal Reproducible Example
main.ts
login.vue
System info
context.mjs:8 Uncaught (in promise) Error: useRecaptcha() is called without provider. at useRecaptchaContext (context.mjs:8:11) at useAssertV2SiteKey (context.mjs:17:15) at useChallengeV2 (challenge-v2.mjs:12:19) at useComponentV2 (component-v2.mjs:5:83) at setup (Checkbox.vue:46:18) at callWithErrorHandling (runtime-core.esm-bundler.js:193:18) at setupStatefulComponent (runtime-core.esm-bundler.js:7606:25) at setupComponent (runtime-core.esm-bundler.js:7567:36) at mountComponent (runtime-core.esm-bundler.js:5894:7) at processComponent (runtime-core.esm-bundler.js:5860:9)