@yetuzi/vue3-query-components 1.0.2 → 1.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.
Files changed (2) hide show
  1. package/README.md +7 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,12 +30,10 @@ pnpm add @yetuzi/vue3-query-components
30
30
 
31
31
  ```typescript
32
32
  import { createApp } from 'vue'
33
- import Vue3QueryComponents from '@yetuzi/vue3-query-components'
34
33
  import '@yetuzi/vue3-query-components/dist/style.css'
35
34
  import 'element-plus/theme-chalk/index.css' // 需要安装 Element Plus
36
35
 
37
36
  const app = createApp(App)
38
- app.use(Vue3QueryComponents)
39
37
  ```
40
38
 
41
39
  ### 2. 按需引入
@@ -45,7 +43,7 @@ import {
45
43
  CommonQueryTable,
46
44
  CommonTable,
47
45
  CommonForm,
48
- CommonConfigProvider
46
+ CommonConfigProvider,
49
47
  } from '@yetuzi/vue3-query-components'
50
48
  import '@yetuzi/vue3-query-components/dist/style.css'
51
49
  import 'element-plus/theme-chalk/index.css' // 需要安装 Element Plus
@@ -286,7 +284,7 @@ interface TableColumn {
286
284
 
287
285
  ### 环境要求
288
286
 
289
- - Node.js >= 16.0.0
287
+ - Node.js >= 18.0.0
290
288
  - Vue 3.5+
291
289
  - Element Plus 2.11+
292
290
  - TypeScript 5.9+
@@ -325,13 +323,13 @@ npm test
325
323
  ```json
326
324
  {
327
325
  "peerDependencies": {
328
- "vue": "^3.5.0", // Vue 3 - 需要宿主项目安装
329
- "element-plus": "^2.11.5" // Element Plus UI 库 - 需要宿主项目安装
326
+ "vue": "^3.5.0", // Vue 3 - 需要宿主项目安装
327
+ "element-plus": "^2.11.5" // Element Plus UI 库 - 需要宿主项目安装
330
328
  },
331
329
  "dependencies": {
332
- "dayjs": "^1.11.18", // 日期处理库
333
- "lodash-es": "^4.17.21", // 工具函数库
334
- "vue-hooks-plus": "^2.4.1" // Vue 组合式 API 工具库
330
+ "dayjs": "^1.11.18", // 日期处理库
331
+ "lodash-es": "^4.17.21", // 工具函数库
332
+ "vue-hooks-plus": "^2.4.1" // Vue 组合式 API 工具库
335
333
  }
336
334
  }
337
335
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yetuzi/vue3-query-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Vue3查询页面组件库,基于Element Plus封装的表格查询组件 - 开箱即用",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",