-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to resolve component: Checkbox #1497
Comments
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' |
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' > |
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
The text was updated successfully, but these errors were encountered: