Skip to content

Instantly share code, notes, and snippets.

@hypeJunction
Created July 4, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hypeJunction/c618b9e1ba0ca943aac3d77a5415cadc to your computer and use it in GitHub Desktop.
Save hypeJunction/c618b9e1ba0ca943aac3d77a5415cadc to your computer and use it in GitHub Desktop.
<template>
<vue-recaptcha
v-model="model.captcha"
/>
</template>
<script>
import Vue from 'vue';
import VueRecaptcha from './VueRecaptcha';
Vue.use(VueRecaptcha, {
siteKey: 'XXXXXXXXXXXXXXXXXXXXXXXXX',
});
export default {
data () {
return {
model: {
captcha: null,
},
};
},
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment