vue-amazing-ui 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -43,6 +43,12 @@ import 'vue-amazing-ui/css'
|
|
|
43
43
|
</script>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
## Use CDN in Project
|
|
47
|
+
|
|
48
|
+
```html
|
|
49
|
+
<script src="https://unpkg.com/vue-amazing-ui@latest"></script>
|
|
50
|
+
```
|
|
51
|
+
|
|
46
52
|
## Project
|
|
47
53
|
|
|
48
54
|
- Get the project code
|
|
@@ -113,4 +119,4 @@ debounce | 使用 rafTimeout 实现的防抖函数! | (fn: Function, delay = 3
|
|
|
113
119
|
add | 消除js加减精度问题的加法函数! | (num1: number, num2: number) => number
|
|
114
120
|
downloadFile | 下载文件并自定义文件名! | (url: string, name: string) => void
|
|
115
121
|
moneyFormat | 金额格式化函数! | (value: number|string, decimal = 2, split = ',') => string
|
|
116
|
-
toggleDark |
|
|
122
|
+
toggleDark | 一键切换暗黑模式函数! | () => void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-amazing-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -25,18 +25,19 @@
|
|
|
25
25
|
"@vueuse/core": "^10.3.0",
|
|
26
26
|
"@vueuse/integrations": "^10.3.0",
|
|
27
27
|
"ant-design-vue": "^4.0.1",
|
|
28
|
-
"core-js": "^3.32.
|
|
28
|
+
"core-js": "^3.32.1",
|
|
29
29
|
"date-fns": "^2.30.0",
|
|
30
30
|
"naive-ui": "^2.34.4",
|
|
31
31
|
"qrcode": "^1.5.3",
|
|
32
32
|
"swiper": "^10.2.0",
|
|
33
33
|
"vue": "^3.3.4",
|
|
34
|
+
"vue-amazing-ui": "^0.1.2",
|
|
34
35
|
"vue-router": "^4.2.4"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
38
|
-
"@types/node": "^20.5.
|
|
39
|
-
"@vitejs/plugin-vue": "^4.3.
|
|
39
|
+
"@types/node": "^20.5.6",
|
|
40
|
+
"@vitejs/plugin-vue": "^4.3.3",
|
|
40
41
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
41
42
|
"@vue/tsconfig": "0.1.3",
|
|
42
43
|
"eslint": "^8.47.0",
|