1.0.0 • Published 4 years ago
honray-ui v1.0.0
npm install honray-ui -S
import hrUI from 'honray-ui'
import 'owl-ui/lib/styles/honray-ui.css'
Vue.use(hrUI)
按需加载
import Button from 'honray-ui/lib/button/button.js'
import 'honray-ui/lib/button/button.css'
Vue.use(Button)
开发
git clone git@gitlab.honray.cc:guopeiyu/hr-ui.git
cd hr-ui
npm install
npm run dev
# 启动文档开发
npm run docs
命令介绍
npm run dev #启动组件开发
npm run docs #启动文档开发
npm run prod #组件构建
npm run build #整体构建
npm run build:style #样式构建
npm run build:icon #svg转化为iconfont
npm run build:docs #文档构建
npm run build:example #示例构建
npm run build:component #按需组件构建
npm run lint #eslint测试
npm run unit #组件单元测试
npm run test #eslint测试 & 组件单元测试
发布流程
1. 登录账号
npm 账号:
fullName:zhanghaiming
email: tech@honraytech.com
username: zhanghaiming
password: Honray2020
npm addUser
npm publish