@uf_lee/leeui 1.0.5 → 1.0.7
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/dist/leeui.es.js +16 -0
- package/dist/leeui.umd.js +1 -0
- package/package.json +6 -6
- package/src/MyComponent.vue +0 -9
- package/src/index.ts +0 -11
package/dist/leeui.es.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as c, openBlock as l, createElementVNode as s } from "vue";
|
|
2
|
+
const _ = (t, e) => {
|
|
3
|
+
const n = t.__vccOpts || t;
|
|
4
|
+
for (const [o, r] of e)
|
|
5
|
+
n[o] = r;
|
|
6
|
+
return n;
|
|
7
|
+
}, f = {};
|
|
8
|
+
function p(t, e) {
|
|
9
|
+
return l(), c("div", null, e[0] || (e[0] = [
|
|
10
|
+
s("p", null, "Hello! 我是一个测试组件", -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const u = /* @__PURE__ */ _(f, [["render", p]]);
|
|
14
|
+
export {
|
|
15
|
+
u as Test
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.leeui={},e.Vue))})(this,function(e,t){"use strict";const r=(o,n)=>{const i=o.__vccOpts||o;for(const[u,d]of n)i[u]=d;return i},s={};function c(o,n){return t.openBlock(),t.createElementBlock("div",null,n[0]||(n[0]=[t.createElementVNode("p",null,"Hello! 我是一个测试组件",-1)]))}const f=r(s,[["render",c]]);e.Test=f,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uf_lee/leeui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "自己的组件库",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
5
|
+
"main": "dist/leeui.cjs.js",
|
|
6
|
+
"module": "dist/leeui.esm.js",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
7
8
|
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
"src"
|
|
9
|
+
"dist"
|
|
10
10
|
],
|
|
11
11
|
"keywords": [
|
|
12
12
|
"vue",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dev": "vite",
|
|
19
19
|
"build": "vite build",
|
|
20
20
|
"build:types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json",
|
|
21
|
-
"publish": "npm run build && npm publish"
|
|
21
|
+
"publish": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json && npm run build && npm publish"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@vitejs/plugin-vue": "^5.2.3",
|
package/src/MyComponent.vue
DELETED
package/src/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 李天惊 uf_lee@163.com
|
|
3
|
-
* @Date: 2025-03-20 11:24:35
|
|
4
|
-
* @LastEditors: 李天惊 uf_lee@163.com
|
|
5
|
-
* @LastEditTime: 2025-03-20 13:37:31
|
|
6
|
-
* @FilePath: \leelcp2022\lee_ui\src\index.ts
|
|
7
|
-
* Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
|
|
8
|
-
*/
|
|
9
|
-
import MyComponent from "./MyComponent.vue";
|
|
10
|
-
|
|
11
|
-
export { MyComponent };
|