gy-ui-plus 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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "author": "zyj",
7
7
  "license": "MIT",
8
- "version": "1.0.3",
8
+ "version": "1.0.4",
9
9
  "private": false,
10
10
  "type": "module",
11
11
  "main": "dist/gy-ui-plus.umd.js",
@@ -24,6 +24,14 @@
24
24
  "README.md",
25
25
  "LICENSE"
26
26
  ],
27
+ "keywords": [
28
+ "element-plus",
29
+ "vite",
30
+ "vue3",
31
+ "二次封装组件",
32
+ "封装组件",
33
+ "components"
34
+ ],
27
35
  "engines": {
28
36
  "node": "^20.19.0 || >=22.12.0"
29
37
  },
@@ -1,5 +1,5 @@
1
1
  import Button from './src/index.vue'
2
2
  import { withInstall } from '../withInstall'
3
3
 
4
- const JButton = withInstall(Button)
5
- export default JButton
4
+ const GyButton = withInstall(Button)
5
+ export default GyButton
@@ -4,5 +4,5 @@ import { withInstall } from '../withInstall'
4
4
  export * from './src/tableProps'
5
5
  export * from './src/useExpose'
6
6
 
7
- const JTable = withInstall(Table)
8
- export default JTable
7
+ const GyTable = withInstall(Table)
8
+ export default GyTable
package/packages/index.ts CHANGED
@@ -2,15 +2,15 @@ import type { Component, App } from 'vue'
2
2
  // import ElementPlus from 'element-plus'
3
3
  // import 'element-plus/dist/index.css'
4
4
  // import locale from 'element-plus/lib/locale/lang/zh-cn' // 因element-plus默认是英文,我们指定一下默认中文
5
- import JButton from './j-button/src/index.vue'
6
- import JTable from './j-table/src/index.vue'
5
+ import GyButton from './gy-button/src/index.vue'
6
+ import GyTable from './gy-table/src/index.vue'
7
7
 
8
8
  // 存储组件列表
9
9
  const components: {
10
10
  [propName: string]: Component
11
11
  } = {
12
- JButton,
13
- JTable,
12
+ GyButton,
13
+ GyTable,
14
14
  }
15
15
  // 插件声明:声明所有插件
16
16
  // 插件注册:在 Vue 项目的入口文件中,通过 ( app.use(插件) ) 进行注册
@@ -28,7 +28,7 @@ const install: any = (app: any, router?: any) => {
28
28
  }
29
29
 
30
30
  // 按需引入
31
- export { JButton, JTable }
31
+ export { GyButton, GyTable }
32
32
  export default {
33
33
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
34
34
  install,
File without changes
File without changes
File without changes
File without changes
File without changes