gaoc-vue-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/dist/gaoc-vue-lib.esm.js +28 -0
- package/dist/gaoc-vue-lib.umd.js +37 -0
- package/package.json +24 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, toDisplayString } from 'vue';
|
|
2
|
+
|
|
3
|
+
var script = {
|
|
4
|
+
name: 'HelloWorld',
|
|
5
|
+
props: {
|
|
6
|
+
msg: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: 'Hello World! - from gaoc'
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const _hoisted_1 = { class: "hello" };
|
|
14
|
+
|
|
15
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16
|
+
return (openBlock(), createElementBlock("h1", _hoisted_1, toDisplayString($props.msg), 1 /* TEXT */))
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
script.render = render;
|
|
20
|
+
script.__file = "src/HelloWorld.vue";
|
|
21
|
+
|
|
22
|
+
var index = {
|
|
23
|
+
install(app) {
|
|
24
|
+
app.component('GaocHelloWorld', script);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { script as GaocHelloWorld, index as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.gaocVueLib = {}, global.Vue));
|
|
5
|
+
})(this, (function (exports, vue) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var script = {
|
|
8
|
+
name: 'HelloWorld',
|
|
9
|
+
props: {
|
|
10
|
+
msg: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: 'Hello World! - from gaoc'
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const _hoisted_1 = { class: "hello" };
|
|
18
|
+
|
|
19
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20
|
+
return (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1, vue.toDisplayString($props.msg), 1 /* TEXT */))
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
script.render = render;
|
|
24
|
+
script.__file = "src/HelloWorld.vue";
|
|
25
|
+
|
|
26
|
+
var index = {
|
|
27
|
+
install(app) {
|
|
28
|
+
app.component('GaocHelloWorld', script);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
exports.GaocHelloWorld = script;
|
|
33
|
+
exports.default = index;
|
|
34
|
+
|
|
35
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
36
|
+
|
|
37
|
+
}));
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gaoc-vue-ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/gaoc-vue-lib.umd.js",
|
|
6
|
+
"module": "dist/gaoc-vue-lib.esm.js",
|
|
7
|
+
"files": ["dist"],
|
|
8
|
+
"type": "module",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "rollup -c"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [],
|
|
13
|
+
"author": "gaoc",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"packageManager": "pnpm@10.27.0",
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"vue": "^3.5.26"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
21
|
+
"rollup": "^4.55.1",
|
|
22
|
+
"rollup-plugin-vue": "^6.0.0"
|
|
23
|
+
}
|
|
24
|
+
}
|