Coder Social home page Coder Social logo

bdi-ui's Introduction

BDI-UI

饿了么 - 大数据部门很多产品都是基于 element-ui 开发的,但是不同产品间往往会有功能相似的组件,它们往往有如下特点:

  1. 多个项目中,几乎一致的功能
  2. 每个组件交互比较复杂

于是,我们便把这些重复用到,交互复杂的组件抽出来,组成了这个库。

安装

npm i bdi-ui element-ui -S

快速开始

import Vue from 'vue'
// 引入 element-ui 
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
// 引入 bdi-ui
import 'bdi-ui/lib/theme-chalk/index.css'
import BdiUI from 'bdi-ui'

Vue.use(ElementUI)
Vue.use(BdiUI)

更多用法,请参考文档

参与开发

  1. fork 本仓库
  2. npm i - 安装依赖
  3. npm run dev - 开发环境
  4. npm run build:lib - 打包组件库至 lib 文件夹
  5. npm run build:examples - 打包主页

bdi-ui's People

Contributors

ywwhack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bdi-ui's Issues

popup 来个左右对齐?

image

popup 出的弹窗不做个左对齐或者是右对齐吗? popup 对齐到中间的话当筛选组件位于页面左边或者右边 popup 弹出会被挡住吧?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.