UNPKG

vue-ele-ui

Version:
19 lines (17 loc) 514 B
import Vue from "vue"; import reTable from "./reTable"; import reCard from "./reCard"; import reTagSelect from "./reTagSelect"; import "./style/common.scss"; const coms = [reTable, reCard, reTagSelect]; const install = function () { coms.forEach((com) => { Vue.component(com.name, com); }); }; if (typeof window !== "undefined" && window.Vue) { install(window.Vue); } const VueEleUI = { reCard, reTable, reTagSelect, install }; export default VueEleUI; export { reCard, reTable, reTagSelect, install };