nuxtjs-recaptcha-cn
TypeScript icon, indicating that this package has built-in type declarations

0.6.2 • Public • Published

Google reCAPTCHA

npm version npm downloads Circle CI Codecov Dependencies Standard JS

🤖 Simple and easy Google reCAPTCHA integration with Nuxt.js

📖 Release Notes

Setup

  1. Add @nuxtjs/recaptcha dependency with yarn or npm into your project
  2. Add @nuxtjs/recaptcha to modules section of nuxt.config.js
  3. 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

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) mvrlin mvrlin@pm.me

Package Sidebar

Install

npm i nuxtjs-recaptcha-cn

Weekly Downloads

2

Version

0.6.2

License

MIT

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • emohacker