dvomaks / recaptcha-module

πŸ€– Simple and easy Google reCAPTCHA integration with Nuxt.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ€– Simple and easy Google reCAPTCHA integration with Nuxt.js

License:MIT License


Languages

Language:JavaScript 58.8%Language:Vue 41.2%