vue-recaptcha-v3 icon indicating copy to clipboard operation
vue-recaptcha-v3 copied to clipboard

Documentation on how to access instance from Vue 3 Composition

Open vessi-devs opened this issue 1 year ago • 1 comments

In the project's README.md (https://github.com/AurityLab/vue-recaptcha-v3#access-recaptcha-v3-instance) it's not explained how to get the instance when Vue 3 Composition is used. We need to hide the Recaptcha badge. We'll be glad if you kindly document how to accomplish that. Thanks.

vessi-devs avatar Jun 23 '23 21:06 vessi-devs

const app = createApp(App).use(router).use(pinia)

VueReCaptcha.install(app, {
  siteKey: import.meta.env.VITE_APP_RECAPTCHA_SITE_KEY,
  loaderOptions: {
    useRecaptchaNet: true,
    autoHideBadge: false
  }
})

app.mount('#app')

charleston10 avatar Jul 30 '23 16:07 charleston10