1.0.1 • Published 5 years ago

jd-whale-ui v1.0.1

Weekly downloads
6
License
-
Repository
-
Last release
5 years ago

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无极滑竿
switchControlswitch开关组件
power电源总开关组件