Skip to content
πŸ€– Simple and easy Google reCAPTCHA integration with Nuxt.js
Branch: master
Clone or download
Latest commit a28015c May 2, 2019

README.md

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)
    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

You can’t perform that action at this time.