File tree Expand file tree Collapse file tree 3 files changed +31
-16
lines changed Expand file tree Collapse file tree 3 files changed +31
-16
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,24 @@ High-quality and reliable Vue3 Hooks library
38
38
39
39
## 📦 Install
40
40
41
+ ``` bash
42
+ npm i vue-hooks-plus
41
43
```
42
- $ npm i vue-hooks-plus
43
- # or
44
- $ yarn add vue-hooks-plus
44
+
45
+ ### CDN
46
+
47
+ ``` html
48
+ <script src =" https://cdn.jsdelivr.net/npm/vue-hooks-plus/dist/js/index.iife.js" ></script >
45
49
```
46
50
51
+ It will be exposed to global as ` VueHooks_Plus `
52
+
47
53
## 🤹♀️ Usage
48
54
49
55
``` typescript
50
56
import { useRequest } from ' vue-hooks-plus'
51
57
52
58
// or Introduced on demand
53
-
54
59
import useRequest from ' vue-hooks-plus/es/useRequest'
55
60
```
56
61
@@ -76,4 +81,4 @@ This project is heavily inspired by the following awesome projects.
76
81
77
82
## 📄 License
78
83
79
- [ MIT License] ( https://github.com/InhiblabCore/vue-hooks-plus/blob/master/LICENSE ) © 2022-PRESENT [ Yong Git] ( https://github.com/NelsonYong )
84
+ [ MIT License] ( https://github.com/InhiblabCore/vue-hooks-plus/blob/master/LICENSE ) © 2022-PRESENT [ Yong Git] (
Original file line number Diff line number Diff line change 38
38
39
39
## 📦 安装
40
40
41
+ ``` bash
42
+ npm i vue-hooks-plus
41
43
```
42
- $ npm i vue-hooks-plus
43
- # or
44
- $ yarn add vue-hooks-plus
44
+
45
+ ### CDN
46
+
47
+ ``` html
48
+ <script src =" https://cdn.jsdelivr.net/npm/vue-hooks-plus/dist/js/index.iife.js" ></script >
45
49
```
46
50
51
+ 它会导出一个全局的变量 ` VueHooks_Plus `
52
+
47
53
## 🤹♀️ 使用
48
54
49
55
``` typescript
50
56
import { useRequest } from ' vue-hooks-plus'
51
57
52
58
// or 按需引入
53
-
54
59
import useRequest from ' vue-hooks-plus/es/useRequest'
55
60
```
56
61
Original file line number Diff line number Diff line change @@ -32,25 +32,30 @@ High-quality and reliable Vue3 Hooks library
32
32
- 🦾 Preferred useRequest, Powerful request middle tier
33
33
- 🎪 Interactive demo, immersive
34
34
- 🎯 Written in TypeScript with predictable static types
35
- - ⚡️ Support the on-demand load, and reduce the packing volume
36
- - 🤺 The drill field shows its skills
35
+ - 🪄 Support the on-demand load, and reduce the packing volume
36
+ - 🤺 Playground, there's ample scope for one's abilities
37
37
- 🔐 Perfect test, safe and reliable
38
38
39
39
## 📦 Install
40
40
41
+ ``` bash
42
+ npm i vue-hooks-plus
41
43
```
42
- $ npm i vue-hooks-plus
43
- # or
44
- $ yarn add vue-hooks-plus
44
+
45
+ ### CDN
46
+
47
+ ``` html
48
+ <script src =" https://cdn.jsdelivr.net/npm/vue-hooks-plus/dist/js/index.iife.js" ></script >
45
49
```
46
50
51
+ It will be exposed to global as ` VueHooks_Plus `
52
+
47
53
## 🤹♀️ Usage
48
54
49
55
``` typescript
50
56
import { useRequest } from ' vue-hooks-plus'
51
57
52
58
// or Introduced on demand
53
-
54
59
import useRequest from ' vue-hooks-plus/es/useRequest'
55
60
```
56
61
@@ -76,4 +81,4 @@ This project is heavily inspired by the following awesome projects.
76
81
77
82
## 📄 License
78
83
79
- [ MIT License] ( https://github.com/InhiblabCore/vue-hooks-plus/blob/master/LICENSE ) © 2022-PRESENT [ Yong Git] ( https://github.com/NelsonYong )
84
+ [ MIT License] ( https://github.com/InhiblabCore/vue-hooks-plus/blob/master/LICENSE ) © 2022-PRESENT [ Yong Git] (
You can’t perform that action at this time.
0 commit comments