@gx-design-vue/image 0.0.1 → 0.0.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 +3 -7
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
# ProTable
|
|
2
2
|
|
|
3
3
|
```shell
|
|
4
|
-
pnpm add @gx-design-vue/
|
|
4
|
+
pnpm add @gx-design-vue/image
|
|
5
5
|
```
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
// 可全局引入,也可以单独引入
|
|
9
|
-
import {
|
|
9
|
+
import { GImage } from '@gx-design-vue/image'
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
import '@gx-design-vue/pro-table/dist/ProTable.less'
|
|
13
|
-
|
|
14
|
-
// 如果没有引入了ant-design-vue 相关组件,则执行下面
|
|
15
|
-
import '@gx-design-vue/pro-table/dist/style.less'
|
|
11
|
+
import '@gx-design-vue/image/dist/style.less'
|
|
16
12
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gx-design-vue/image",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build",
|
|
@@ -20,12 +20,14 @@
|
|
|
20
20
|
".": {
|
|
21
21
|
"import": "./dist/image.mjs",
|
|
22
22
|
"require": "./dist/image.umd.js"
|
|
23
|
-
}
|
|
23
|
+
},
|
|
24
|
+
"./dist/style.css": "./dist/style.css",
|
|
25
|
+
"./dist/style.less": "./dist/style.less"
|
|
24
26
|
},
|
|
25
27
|
"dependencies": {
|
|
26
28
|
"@vueuse/core": "^6.8.0",
|
|
27
|
-
"@gx-design-vue/pro-utils": "0.0.
|
|
28
|
-
"@gx-design-vue/pro-hooks": "^0.0.
|
|
29
|
+
"@gx-design-vue/pro-utils": "^0.0.30",
|
|
30
|
+
"@gx-design-vue/pro-hooks": "^0.0.6",
|
|
29
31
|
"ant-design-vue": "^3.2.15",
|
|
30
32
|
"vue": "^3.0.0",
|
|
31
33
|
"vue-types": "^4.1.1"
|