@el-plus/ui 0.0.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # el-plus
2
+
3
+ ## 0.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 基于element-plus封装的组件库
package/components.ts ADDED
@@ -0,0 +1,9 @@
1
+ import type { Plugin } from 'vue'
2
+ import Buttons from '@el-plus/components/buttons'
3
+ import Form from '@el-plus/components/form'
4
+ import Input from '@el-plus/components/input'
5
+ import SearchListPage from '@el-plus/components/searchListPage'
6
+ import Select from '@el-plus/components/select'
7
+ import Table from '@el-plus/components/table'
8
+
9
+ export default [Buttons, Form, Input, SearchListPage, Select, Table] as Plugin[]
package/index.ts ADDED
@@ -0,0 +1,17 @@
1
+ import type { App, Plugin } from 'vue'
2
+ import components from './components'
3
+ import { version } from './package.json'
4
+ export const install = (app: App, options?: Record<string, any>) => {
5
+ components.forEach((c) => app.use(c))
6
+ if (options) {
7
+ }
8
+ }
9
+
10
+ const plugin: Plugin & { version: string } = {
11
+ install,
12
+ version,
13
+ }
14
+ export default plugin
15
+ export * from '@el-plus/components/'
16
+ export * from '@el-plus/hooks'
17
+ export * from '@el-plus/directives'
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@el-plus/ui",
3
+ "version": "0.0.1",
4
+ "description": "pro base on element-plus",
5
+ "main": "lib/index.js",
6
+ "module": "es/index.mjs",
7
+ "types": "es/index.d.ts",
8
+ "keywords": [
9
+ "element-plus",
10
+ "vue3"
11
+ ],
12
+ "author": "pengfei.yin",
13
+ "license": "MIT",
14
+ "peerDependencies": {
15
+ "axios": "1.13.2",
16
+ "element-plus": "2.11.9",
17
+ "vue": "3.5.26"
18
+ },
19
+ "devDependencies": {
20
+ "axios": "1.13.2",
21
+ "element-plus": "2.11.9",
22
+ "vue": "3.5.26"
23
+ },
24
+ "dependencies": {
25
+ "@el-plus/components": "^1.0.0"
26
+ },
27
+ "browserslist": [
28
+ "not ie 11"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public",
32
+ "registry": "https://registry.npmjs.org/"
33
+ }
34
+ }