File tree 1 file changed +11
-17
lines changed
1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change 1
1
# Go Captcha Vue Package
2
2
3
- ## vue2
4
- Greater than or equal to 2.7.14 and less than 3.0
3
+ ##
5
4
``` shell
5
+ # Greater than or equal to vue2.7.14 and less than vue3.0
6
6
yarn add go-captcha-vue
7
7
# or
8
8
npm install go-captcha-vue
9
9
# or
10
10
pnpm install go-captcha-vue
11
- ```
12
11
13
- Use Go Captcha
14
- ``` vue
15
-
16
- import "go-captcha-vue/dist/style.css"
17
- import GoCaptcha from "go-captcha-vue"
18
-
19
- Vue.use(GoCaptcha)
20
- ```
21
-
22
- ## vue3
23
- Greater than 3.0
24
- ``` shell
12
+ # ###########################################
13
+ # Greater than vue3.0
25
14
yarn add go-captcha-vue3
26
15
# or
27
16
npm install go-captcha-vue3
@@ -30,15 +19,20 @@ pnpm install go-captcha-vue3
30
19
```
31
20
32
21
Use Go Captcha
33
- ``` vue
22
+ ``` ts
23
+ // Greater than or equal to vue2.7.14 and less than vue3.0
24
+ import " go-captcha-vue/dist/style.css"
25
+ import GoCaptcha from " go-captcha-vue"
34
26
27
+ // ///////////////////////////////////////
28
+ // Greater than vue3.0
35
29
import " go-captcha-vue3/dist/style.css"
36
30
import GoCaptcha from " go-captcha-vue3"
37
31
32
+
38
33
Vue .use (GoCaptcha )
39
34
```
40
35
41
-
42
36
## 🖖 Click Mode Captcha
43
37
``` vue
44
38
<gocaptcha-click
You can’t perform that action at this time.
0 commit comments