Open sukhe-singh opened 9 months ago
Please don't name your component as VueRecaptcha
. It will cause a conflict in vue's component resolution.
<script>
// ...
export default {
// name: 'VueRecaptcha', // don't do this, named it as something else
components: { VueRecaptcha },
}
</script>
Description
I am trying to integrate vue-recaptcha(2.0.3) library in my existing vuejs project having version 2.7.0. But I am getting this error: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Minimal Reproducible Example
[
System info
node 10.1.0 npm- 8.1.0