UNPKG

zk-components-demo

Version:

32 lines (31 loc) 691 B
import { resolveComponent as r, createElementBlock as s, openBlock as l, createVNode as a, withCtx as _, createTextVNode as p } from "vue"; const m = (t, n) => { const e = t.__vccOpts || t; for (const [o, c] of n) e[o] = c; return e; }, f = {}; function i(t, n) { const e = r("el-button"); return l(), s("div", null, [ a(e, { type: "primary" }, { default: _(() => n[0] || (n[0] = [ p("我的按钮") ])), _: 1 /* STABLE */ }) ]); } const u = /* @__PURE__ */ m(f, [["render", i]]), d = { install(t) { t.component("zk-btn", u); } }, x = [d], k = { install(t) { x.forEach((n) => t.use(n)); } }; export { k as default };