-
Notifications
You must be signed in to change notification settings - Fork 25
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
Vue 3 Support #217
Comments
Anyone has a sample of how to integrate this in vue3? |
Owner has been unresponsive to my PR, #218, so I've resigned myself to building a local Checkout the git clone https://github.com/aklinker1/vue-recaptcha-v3.git
cd vue-recaptcha-v3
# I don't think yarn has a pack command like NPM, the output works for both
npm install
npm pack That should output # npm
npm install ./local_modules/vue-recaptcha-v3-1.9.0-vue3.tgz
# yarn
yarn add ./local_modules/vue-recaptcha-v3-1.9.0-vue3.tgz I have no clue what the standard is for this, but I like |
Thanks. Any working example would be good. I am getting this in my package.json "vue-recaptcha-v3": "file:local_modules/vue-recaptcha-v3-1.9.0.tgz", and its saying failed to compile.. ./src/main.js I already have an App component so not sure how to do 2 app components in main.js which I believe this code should go.. |
With Vue3 on the horizon, this library should probably support it. I've gotten started with Vue 3 in one of my projects, so I'll try and fork this and open a PR when I have time.
vue@3.0.0-rc.5
vue-recaptcha-v3@1.9.0
Typescript
Looks like this library is missing an
install
method?Usage
If you ignore the TS error and continue on, you get an error at runtime because there is no longer a default export from
vue
:The text was updated successfully, but these errors were encountered: