0.0.3 • Published 1 year ago

my-kit-test-qwe v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createElementVNode } from "vue"; const hoisted_1$1 = / @PURE / createTextVNode("\u7B2C\u4E00\u4E2A"); const _hoisted_2$1 = / @PURE / createTextVNode("\u7B2C\u4E8C\u4E2A"); const _hoisted_3 = / @PURE / createTextVNode("\u7B2C\u4E09\u4E2A"); const _sfc_main$1 = { setup(__props) { const onClick = (num) => { console.log(\u6211\u662F\u7B2C ${num} \u4E2A\u81EA\u5B9A\u4E49\u6309\u94AE); }; return (_ctx, _cache) => { const _component_my_button = resolveComponent("my-button"); return openBlock(), createElementBlock("div", null, [ createVNode(_component_my_button, { onClick: _cache0 || (_cache0 = ($event) => onClick(1)) }, { default: withCtx(() => _hoisted_1$1 ), : 1 }), createVNode(component_my_button, { onClick: _cache1 || (_cache1 = ($event) => onClick(2)) }, { default: withCtx(() => _hoisted_2$1 ), : 1 }), createVNode(component_my_button, { onClick: _cache2 || (_cache2 = ($event) => onClick(3)) }, { default: withCtx(() => _hoisted_3 ), : 1 }) ]); }; } }; const hoisted_1 = { class: "markdown-body" }; const _hoisted_2 = / @PURE / createElementVNode("h1", null, "\u6309\u94AE\u7EC4\u4EF6", -1); const _sfc_main = { setup(__props, { expose }) { const frontmatter = {}; expose({ frontmatter }); return (_ctx, _cache) => { const _component_Preview = resolveComponent("Preview"); return openBlock(), createElementBlock("div", _hoisted_1, [ _hoisted_2, createVNode(_component_Preview, { "comp-name": "Button", "demo-name": "demo" }, { default: withCtx(() => createVNode(_sfc_main$1) ), : 1 }) ]); }; } }; export { _sfc_main as default };