vue-ele-ui
Version:
Reusable components for Vue
19 lines (17 loc) • 514 B
JavaScript
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 };