0.0.9 • Published 6 years ago

jdstyle v0.0.9

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

公告

这个 UI库的核心想法是想教大家如何搭建一个基于Vue的组件库。市面上已经有很多成熟的中后台组件库,比如element-uiiview。这个组件库也是由我一个人维护开发,不建议使用到生产环境,如果有兴趣,可以fork下来作为自己技术探索的一个部分。

JDstyle

JDsyle 是一款基于 Vue.js 2.0 的前端 UI 组件库,主要用于快速开发 PC 网站中后台产品 演示地址

特性

  • 基于 Vue 开发的 UI 组件
  • 使用 npm + webpack + babel 的工作流,支持 ES2015
  • 提供友好的 API,可灵活的使用组件

浏览器支持

安装

  • yarn
yarn add jdstyle
  • npm
npm install jdstyle --save

使用

import VvUI from 'jdstyle' // 引入组件库
import 'jdstyle/packages/theme-default/lib/index.css' // 引入样式库

Vue.use(jdstule)

贡献

如果你在使用 JDstyle 时遇到问题,或者有好的建议,欢迎给我们提 yangxu21@jd.com

Pull requests 规范

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

All pull requests are welcome. Thanks for taking the time to contribute.

  • Create an issue about the features, such as new components.
  • Fork the repo to your own account.
  • Clone your fork.
  • Create a new branch base on dev, if you want to add new component, the branch name should be formatted as component-[Component Name]. (e.g. component-steps) And the commit info should be formatted as [Component Name]: Info about commit.
  • Make sure that running npm run prepublish outputs the correct files.
  • Rebase before creating a PR to keep commit history clear. (Merge request to branch dev)
  • Provide some description about your PR.