ftt-vue-components
Version:
some components for vuetify3/element-plus/... with vue3.
45 lines (44 loc) • 1.1 kB
JavaScript
import { defineComponent as r, openBlock as c, createElementBlock as l, renderSlot as d } from "vue";
const f = /* @__PURE__ */ r({
__name: "index",
emits: ["click"],
setup(t) {
return (e, n) => (c(), l("button", {
class: "g-button",
onClick: n[0] || (n[0] = (o) => e.$emit("click", o))
}, [
d(e.$slots, "default", {}, void 0, !0)
]));
}
});
const a = (t, e) => {
const n = t.__vccOpts || t;
for (const [o, i] of e)
n[o] = i;
return n;
}, p = /* @__PURE__ */ a(f, [["__scopeId", "data-v-32ff1a2c"]]), s = {
install(t) {
t.component("g-button", p);
}
};
const u = {}, m = { class: "g-foo" };
function v(t, e) {
return c(), l("div", m, " \u6211\u662F\u6D4B\u8BD5\u7EC4\u4EF6 ");
}
const x = /* @__PURE__ */ a(u, [["render", v], ["__scopeId", "data-v-24bd5ae6"]]), _ = {
install(t) {
t.component("g-foo", x);
}
}, k = {
install(t) {
var e, n;
(e = s.install) == null || e.call(s, t), (n = _.install) == null || n.call(_, t);
}
};
export {
p as Button,
s as ButtonPlugin,
x as Foo,
_ as FooPlugin,
k as default
};