idp-base-components-lib 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -46,10 +46,8 @@ import App from "./App.vue";
46
46
 
47
47
  // 引入组件库
48
48
  import IdpComponents from "idp-base-components-lib";
49
- // 引入样式(两种方式都可以)
50
- import "idp-base-components-lib/dist/style.css";
51
- // 或者
52
- // import "idp-base-components-lib/dist/idp-base-components.css";
49
+ // 引入样式(推荐使用简短路径)
50
+ import "idp-base-components-lib/style.css";
53
51
 
54
52
  const app = createApp(App);
55
53
 
@@ -72,7 +70,7 @@ import {
72
70
  Button as IdpButton,
73
71
  VTable as IdpVTable,
74
72
  } from "idp-base-components-lib";
75
- import "idp-base-components-lib/dist/style.css";
73
+ import "idp-base-components-lib/style.css";
76
74
 
77
75
  const tableConfig = {
78
76
  title: "用户列表",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idp-base-components-lib",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "IDP 基础组件库 - 基于 Vue 3 + Element Plus + vxe-table 构建的企业级组件库",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -13,7 +13,8 @@
13
13
  "require": "./dist/index.cjs.js"
14
14
  },
15
15
  "./dist/style.css": "./dist/idp-base-components.css",
16
- "./dist/*.css": "./dist/*.css"
16
+ "./dist/idp-base-components.css": "./dist/idp-base-components.css",
17
+ "./style.css": "./dist/idp-base-components.css"
17
18
  },
18
19
  "files": [
19
20
  "dist",