ds-ui-private
v0.1.3
Published
一套配置化组件库
Downloads
11
Readme
ds-ui
一个基于element-ui二次封装,可配置化的UI组件库
使用方法
Step 1:首先安装element依赖
npm i element-ui -S
// main.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI, { size: 'small' });
Step2: 安装组件库
npm i ds-ui
// main.js
import ElementUI from 'element-ui';
+ import dsUI from 'ds-ui';
import 'element-ui/lib/theme-chalk/index.css';
+ import 'ds-ui/lib/ds-ui.css';
Vue.use(ElementUI, { size: 'small' });
+ Vue.use(dsUI, {/*override default*/});