Skip to content

Commit b3cc08f

Browse files
committed
update README.md
1 parent d697036 commit b3cc08f

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

README.md

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
11
# Go Captcha Vue Package
22

3-
## vue2
4-
Greater than or equal to 2.7.14 and less than 3.0
3+
##
54
```shell
5+
# Greater than or equal to vue2.7.14 and less than vue3.0
66
yarn add go-captcha-vue
77
# or
88
npm install go-captcha-vue
99
# or
1010
pnpm install go-captcha-vue
11-
```
1211

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
2514
yarn add go-captcha-vue3
2615
# or
2716
npm install go-captcha-vue3
@@ -30,15 +19,20 @@ pnpm install go-captcha-vue3
3019
```
3120

3221
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"
3426

27+
/////////////////////////////////////////
28+
// Greater than vue3.0
3529
import "go-captcha-vue3/dist/style.css"
3630
import GoCaptcha from "go-captcha-vue3"
3731

32+
3833
Vue.use(GoCaptcha)
3934
```
4035

41-
4236
## 🖖 Click Mode Captcha
4337
```vue
4438
<gocaptcha-click

0 commit comments

Comments
 (0)