UNPKG

yuanchu

Version:

19 lines (18 loc) 515 B
import { defineComponent, ref, openBlock, createElementBlock, toDisplayString } from "vue"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ name: "YcButton" }, __name: "button", setup(__props) { const count = ref(0); return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: _cache[0] || (_cache[0] = ($event) => count.value++) }, "鹓雏" + toDisplayString(count.value) + "按钮", 1); }; } }); export { _sfc_main as default };