1.0.0 • Published 2 years ago
hx-vue-components v1.0.0
公告
这个 hx-vue-components
库是一个主要功能为内部组件复用的库。
Hx Vue Components
hx-vue-components
是一款基于 Vue.js 2.x
的内部组件复用库,主要用于协助公司内部系统之间的组件复用。
演示地址
特性
- 基于
Vue
开发的 UI 组件 - 使用 npm + webpack + babel 的工作流,支持 ES2015
- 提供友好的 API,可灵活的使用组件
浏览器支持
- 现代浏览器和 IE9 及以上
安装
- yarn
yarn add hx-vue-components
- npm
npm install hx-vue-components --save
使用
import HxComponents from 'hx-vue-components' // 引入组件库
import 'hx-vue-components/packages/theme-default/lib/index.css' // 引入样式库
Vue.use(HxComponents)
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 ascomponent-[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.