fork from Vue-Screen-Components
Vue大屏项目组件库
- src/server api接口服务目录
- src/components/cell 组件单元目录
- src/components/pages 组件类预览页面目录
- static/mock 组件数据源(json假数据)
source
组件数据源,类型:[Array, Object]
, 如果是Object类型,需在initData()
方法中格式化为Array
类型colorDic
组件颜色源,类型:[Object]
initData()
对数据源进行格式化formatLabel
对label进行格式化
各类别组件编写规范,请见src/components/pages下各组件类文件夹下README.md
iview -> v2.8.0 vue -> v2.5.2
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report