@pardjs/recaptcha-nuxt
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Google reCAPTCHA

Forked from nuxt-community/recaptcha-module

Used recaptcha.net replace google.com to avoid the forbiden with GFW

npm version npm downloads Circle CI Codecov Dependencies Standard JS

Simple and easy Google reCAPTCHA integration with Nuxt.js

📖 Release Notes

Setup

  1. Add @padjs/recaptcha-nuxt dependency with yarn or npm into your project
  2. Add @padjs/recaptcha-nuxt to modules section of nuxt.config.js
  3. Configure it:
{
  modules: [
    [
      "@padjs/recaptcha-nuxt",
      {
        /* reCAPTCHA options */
      }
    ]
  ];
}

using top level options

{
  modules: [
    '@padjs/recaptcha-nuxt',
  ],

  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

Package Sidebar

Install

npm i @pardjs/recaptcha-nuxt

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

11.5 kB

Total Files

8

Last publish

Collaborators

  • ole3021
  • goodbai