Open rudachenkoev opened 10 months ago
Same issue here, just following the v4 guide will lead to this error.
To make it tree-shake able, v3 does not register these components to global. You need to import them in your code
import { Checkbox } from 'vue-recaptcha'
To make it tree-shake able, v3 does not register these components to global. You need to import them in your code
import { Checkbox } from 'vue-recaptcha'
Hi @DanSnow , I was using <import { Checkbox } from 'vue-recaptcha/head'> and it was working so far. Suddenly the checkbox is not being displayed anymore. I tried to remove the /head but it gives me an error <Can't resolve '@unhead/vue' >
To make it tree-shake able, v3 does not register these components to global. You need to import them in your code
import { Checkbox } from 'vue-recaptcha'
it dosn't work, I don't konw why throw error: Uncaught (in promise) Error: useRecaptcha() is called without provider.
Description
I am using Vue 3 (Composition API) + TS + Vite. The module is installed version 3.0.0-alpha.6. After installing the package and declaring the plugin in main.ts I still don't have access to the Checkbox component. As a result I get an error in the console [Vue warn]: Failed to resolve component: Checkbox
Minimal Reproducible Example
main.ts
app.vue
System info
-