基于element-ui
的 Vue UI 库
npm install dv-ui
import Vue from 'vue'
import Dvui from 'dv-ui'
Vue.use(Dvui)
// require style
import 'dv-ui/theme-chalk/index.css'
- dv-button 按钮
- dv-checkbox 复选框
- dv-color 颜色器
- dv-input 输入框
- dv-number 数字输入
- dv-slider 滑块
- dv-switch 开关
- dv-json-editor Json编辑器
- dv-code-editor Web编辑器
yarn
// or
npm instal
-
添加新组件
make new
-
文档页面开发
make dev
-
文档页面打包
make dev-build
打包路径:dist/
-
组件样式编译
make theme
打包路径:lib/theme-chalk/
-
库文件打包发布
make dist
打包路径:lib/
-
组件测试
make test