jd-whale-ui
v1.0.1
Published
A Vue.js project
Downloads
1
Readme
jd-whale-ui
免开发项目的UI组件库
A Vue.js project
Build Setup
# 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
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
注意:
- 每个组件的最外面要包裹一层;
- 每个组件最外层要增加一个删除的按钮;
- 每个组件的最外层加一个点击事件,用于阻止冒泡;
- 每个组件都有一个叫
componentInfo
的props,用来接收信息组件,其中head
组件没有
现在已经完成的
| 名称 | 说明 | | ------ | ------ | | counter | 加减组件 | | ExtremeSlip | 有极滑竿 | | head | 头部组件 | | mode | 模式组件 | | promiseSlip | 无极滑竿 | | switchControl | switch开关组件 | | power | 电源总开关组件 |