Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/chiaweilee/vue-nocaptcha

Aliyun No-Captcha on Vue
https://github.com/chiaweilee/vue-nocaptcha

aliyun aliyun-nocaptcha captcha recaptcha vue vue-nocaptcha

Last synced: about 1 month ago
JSON representation

Aliyun No-Captcha on Vue

Lists

README

        

# Vue-noCAPTCHA

Downloads
Version
License

*Vue.js 2 Only*

## What this do

1. LoadAsync
2. LoadFast 🔜
3. Support Desktop and Mobile 📱💻
4. Support Full HTTPS 🔒
5. Support Languages 🇨🇳🇺🇸🇬🇧🇯🇵🇩🇪🇪🇸🇫🇷🇮🇩🇮🇹🇰🇷🇳🇱🇵🇱🇷🇺🇹🇭🇹🇷🇻🇳

## Install
```cmd
npm install vue-nocaptcha
```

## Version

*NOTE: Please Keep Update this plugin to maintain nc.js and nch5.js files fresh*

## Full version (both Desktop and Mobile)

```js
// import { nocaptcha } from 'vue-nocaptcha'
import nocaptcha from 'vue-nocaptcha/lib/nocaptcha.js'
export default {
components: {
nocaptcha
}
}
```

## Single Desktop version

```js
import nocaptcha from 'vue-nocaptcha/lib/nocaptcha_pc.js'
export default {
components: {
nocaptcha
}
}
```

## Single Mobile version

```js
import nocaptcha from 'vue-nocaptcha/lib/nocaptcha_h5.js'
export default {
components: {
nocaptcha
}
}
```

## Usage

### base usage

```html

```

#### *desktop and h5 set*
```html

```

#### *as component (suggest)*

```js
import { nocaptcha } from 'vue-nocaptcha'
export default {
components: {
nocaptcha
}
}
```

#### *as global component*

```js
import Vue from 'vue'
import nocaptcha from 'vue-nocaptcha'
Vue.use(nocaptcha)
```

#### *pc/h5 version control*

*Normally, it can be control automatic.*

Maybe, you need control it yourself.

```html

```

*NOTE: no h5 prop in single PC/H5 version*

### more

*use https*

```html

```

*use oversea CDN*

```html

```

*use lang*

```html

```

*events*

```html

```