0.6.2 • Published 6 years ago
nuxtjs-recaptcha-cn v0.6.2
Google reCAPTCHA
🤖 Simple and easy Google reCAPTCHA integration with Nuxt.js
Setup
- Add
@nuxtjs/recaptchadependency withyarnornpminto your project - Add
@nuxtjs/recaptchatomodulessection ofnuxt.config.js - Configure it:
{
modules: [
[
'@nuxtjs/recaptcha', {
/* reCAPTCHA options */
}
],
]
}using top level options
{
modules: [
'@nuxtjs/recaptcha',
],
recaptcha: {
/* reCAPTCHA options */
},
}Configuration
{
// ...
recaptcha: {
hideBadge: Boolean, // Hide badge element (v3)
language: String, // Recaptcha language (v2)
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.6.2
6 years ago