Comments (12)
Hey,
I haven't tried the library with Nuxt yet. I'll try to fix it and get back to you asap!
from vue-recaptcha-v3.
👍
from vue-recaptcha-v3.
Sorry for the delay!
I've changed the module system to commonjs
in v1.3.0 (already published on npm).
Hopefully it solves your problem! If you have any further problems, don't hesitate to reply.
from vue-recaptcha-v3.
Looks like it's still happening. Took a look at the file again and it looks like it still has ES6 imports. Possibly forgot to rebuild for it?
Also made a barebones Nuxt project (using create-nuxt-app
) just to ensure it's the lib and not me, and it still occurs.
from vue-recaptcha-v3.
You may retry it now - v1.3.1
from vue-recaptcha-v3.
Alright seems to be fixed in v1.3.1 now. I seem to be getting a compile error for one of my components but unsure if it's the plugin or me. Removing it works fine though.
Thanks for the help 👍
from vue-recaptcha-v3.
On second look it seems to be occuring with, any input
element I try to make, which is bizarre.
https://gist.github.com/Ovyerus/a89b9120b9209f6f2db89cbb70cb8f47
from vue-recaptcha-v3.
What do you exactly mean with input element
in this case?
The plugin is not bound to any component directly...
from vue-recaptcha-v3.
Any <input>
. When there's none in the current view it seems to work fine, but when there's one it causes an error like shown above. Not sure why exactly. Doesn't occur when the plugin isn't loaded as well it seems.
from vue-recaptcha-v3.
Ok, that's crazy. Is this problem reproducible in a simple Nuxt app? If so, can you provide me an example project? Then I could look into it :)
from vue-recaptcha-v3.
Alright so I go to test it in a clean one, and of course it doesn't come up, even when I try testing it again in the main project. I'll try to see if I can properly recreate it if it crops up again.
Only thing I can think that's different is that it was occuring on my laptop, but not sure why that'd change anything.
from vue-recaptcha-v3.
Ok, good to hear that it works.
If it occurs again just create a demo project and send it to me.
from vue-recaptcha-v3.
Related Issues (20)
- Localization
- Cannot use recaptcha on a specific component HOT 3
- Vue 3.0 composition HOT 3
- Property 'executeRecaptcha' does not exist on type 'IReCaptchaComposition | undefined' HOT 6
- Error "incorrect-captcha-sol" and "timeout-or-duplicate" HOT 3
- Latest version is not compatible to use with Vue2 HOT 2
- useReCaptcha composable returns undefined
- CSP violation in production HOT 4
- uncaught (in promise) null HOT 2
- CSP Issue HOT 1
- hideBadge and showBadge methods do not exist HOT 2
- Adding container creates reCAPTCHA ERROR: Invalid domain for site key
- Using with Nuxt3 HOT 13
- Is "login" part of the syntax? HOT 1
- Loading the recaptcha only in one page HOT 3
- --------
- Reduce unused JavaScript
- Load on local component instead of global HOT 2
- Documentation on how to access instance from Vue 3 Composition HOT 1
- Cannot destructure property 'executeRecaptcha' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-recaptcha-v3.