morghulis 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/README.md +3 -5
- package/dist/morghulis.css +1 -1
- package/dist/morghulis.js +31 -20
- package/dist/morghulis.umd.cjs +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
1
|
+
npm run build
|
2
|
+
nrm use npm
|
3
|
+
npm publish
|
package/dist/morghulis.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
h1[data-v-
|
1
|
+
h1[data-v-c279f9ca]{color:#7e22ce}
|
package/dist/morghulis.js
CHANGED
@@ -1,27 +1,38 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
const
|
1
|
+
import { defineComponent as l, ref as _, resolveComponent as c, openBlock as u, createBlock as m, withCtx as p, createTextVNode as s, createVNode as d, toDisplayString as f } from "vue";
|
2
|
+
const i = /* @__PURE__ */ l({
|
3
3
|
__name: "VueComponentNpmExample",
|
4
4
|
props: {
|
5
5
|
msg: { type: String }
|
6
6
|
},
|
7
|
-
setup(
|
8
|
-
const
|
9
|
-
return (
|
10
|
-
r("
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
7
|
+
setup(o) {
|
8
|
+
const t = _(0);
|
9
|
+
return (n, e) => {
|
10
|
+
const r = c("el-button"), a = c("el-card");
|
11
|
+
return u(), m(a, null, {
|
12
|
+
header: p(() => e[1] || (e[1] = [
|
13
|
+
s("header")
|
14
|
+
])),
|
15
|
+
default: p(() => [
|
16
|
+
d(r, {
|
17
|
+
type: "success",
|
18
|
+
onClick: e[0] || (e[0] = (x) => t.value++)
|
19
|
+
}, {
|
20
|
+
default: p(() => [
|
21
|
+
s("count is " + f(t.value), 1)
|
22
|
+
]),
|
23
|
+
_: 1
|
24
|
+
})
|
25
|
+
]),
|
26
|
+
_: 1
|
27
|
+
});
|
28
|
+
};
|
18
29
|
}
|
19
|
-
}),
|
20
|
-
const
|
21
|
-
for (const [
|
22
|
-
|
23
|
-
return
|
24
|
-
},
|
30
|
+
}), v = (o, t) => {
|
31
|
+
const n = o.__vccOpts || o;
|
32
|
+
for (const [e, r] of t)
|
33
|
+
n[e] = r;
|
34
|
+
return n;
|
35
|
+
}, g = /* @__PURE__ */ v(i, [["__scopeId", "data-v-c279f9ca"]]);
|
25
36
|
export {
|
26
|
-
|
37
|
+
g as VueComponentNpmExample
|
27
38
|
};
|
package/dist/morghulis.umd.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.morghulis={},t.Vue))})(this,function(t,e){"use strict";const
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.morghulis={},t.Vue))})(this,function(t,e){"use strict";const c=((p,n)=>{const s=p.__vccOpts||p;for(const[o,r]of n)s[o]=r;return s})(e.defineComponent({__name:"VueComponentNpmExample",props:{msg:{type:String}},setup(p){const n=e.ref(0);return(s,o)=>{const r=e.resolveComponent("el-button"),i=e.resolveComponent("el-card");return e.openBlock(),e.createBlock(i,null,{header:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode("header")])),default:e.withCtx(()=>[e.createVNode(r,{type:"success",onClick:o[0]||(o[0]=f=>n.value++)},{default:e.withCtx(()=>[e.createTextVNode("count is "+e.toDisplayString(n.value),1)]),_:1})]),_:1})}}}),[["__scopeId","data-v-c279f9ca"]]);t.VueComponentNpmExample=c,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"type": "module",
|
5
|
-
"files": [
|
5
|
+
"files": [
|
6
|
+
"dist"
|
7
|
+
],
|
6
8
|
"main": "./dist/morghulis.umd.cjs",
|
7
9
|
"module": "./dist/morghulis.js",
|
8
10
|
"types": "./dist/main.d.ts",
|
@@ -19,6 +21,7 @@
|
|
19
21
|
"preview": "vite preview"
|
20
22
|
},
|
21
23
|
"dependencies": {
|
24
|
+
"element-plus": "^2.9.1",
|
22
25
|
"vue": "^3.5.13"
|
23
26
|
},
|
24
27
|
"devDependencies": {
|