Skip to content

Simple and easy Google reCAPTCHA integration with Nuxt.js

License

Notifications You must be signed in to change notification settings

QassaDevelopers/recaptcha-module

 
 

Repository files navigation

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

About

Simple and easy Google reCAPTCHA integration with Nuxt.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.2%
  • Vue 37.8%