ex design
1.0.0
UI component library based on Element UI and VXE-Table
npm install ex-designyarn add ex-designpnpm add ex-designSince the component library uses Vue2.7, please make sure that the project has been upgraded to the latest Vue2.7 version when used.
In order to reduce the packaging resources, the component library does not provide components of the third-party library.
import 'ex-design/lib/style.css' ;< template >
< div >
< ex-button >按钮</ ex-button >
</ div >
</ template >
< script >
import { ExButton } from ' ex-design ' ;
export default {
components : { ExCard }
};
</ script > import ExDesign from 'ex-design' ;
Vue . use ( ExDesign ) ; import Vue from 'vue' ;
import { ExButton } from 'ex-design' ;
Vue . component ( ExButton . name , ExButton ) ;
/* 或写为
* Vue.use(ExButton)
*/