UNPKG

zk-components-demo

Version:

2 lines (1 loc) 681 B
(function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e["zk-element-components"]=o(e.Vue))})(this,function(e){"use strict";const o=(n,t)=>{const c=n.__vccOpts||n;for(const[f,l]of t)c[f]=l;return c},s={};function r(n,t){const c=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(c,{type:"primary"},{default:e.withCtx(()=>t[0]||(t[0]=[e.createTextVNode("我的按钮")])),_:1})])}const i=o(s,[["render",r]]),d=[{install(n){n.component("zk-btn",i)}}];return{install(n){d.forEach(t=>n.use(t))}}});