study-iarco
Version:
36 lines (27 loc) • 721 B
JavaScript
/*!
* iarco v1.0.0
* (c) 2022 qxs
* @license MIT
*/
import { openBlock, createBlock } from 'vue';
var script = {
name: "AButton"
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
return (openBlock(), createBlock("button", null, "测试发布按钮"))
}
script.render = render;
script.__file = "packages/Button/Button.vue";
script.install = function (Vue) {
Vue.component(script.name, script);
};
// import Alert from '../packages/Alert'
let components = [script]; // 1: 支持全局注册
var index = {
install(Vue) {
components.forEach(item => {
Vue.component(item.name, item);
});
}
}; // 2:支持按需导入
export { script as Button, index as default };