0.2.2 • Published 7 years ago
@pardjs/recaptcha-nuxt v0.2.2
Google reCAPTCHA
Forked from nuxt-community/recaptcha-module
Used recaptcha.net replace google.com to avoid the forbiden with GFW
Simple and easy Google reCAPTCHA integration with Nuxt.js
Setup
- Add
@padjs/recaptcha-nuxtdependency withyarnornpminto your project - Add
@padjs/recaptcha-nuxttomodulessection ofnuxt.config.js - Configure it:
{
modules: [
[
"@padjs/recaptcha-nuxt",
{
/* reCAPTCHA options */
}
]
];
}using top level options
{
modules: [
'@padjs/recaptcha-nuxt',
],
recaptcha: {
/* reCAPTCHA options */
},
}Configuration
{
// ...
recaptcha: {
hideBadge: Boolean, // Hide badge element (v3)
siteKey: String, // Site key for requests
version: Number, // Version
},
// ...
}Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) mvrlin mvrlin@pm.me
0.2.2
7 years ago