wy-components-beta

A Vue.js project

Usage no npm install needed!

<script type="module">
  import wyComponentsBeta from 'https://cdn.skypack.dev/wy-components-beta';
</script>

README

wy-components-beta

基于 his 业务封装的组件库,可打版生成 npm 包

使用

sudo npm | cnpm  install wy-components-beta --save-dev
> 全局引入
import wy from 'wy-components-beta'
Vue.use(wy)

版本

迭代版本

组件列表

组件名 描述 备注
| WyPrescription | 开处方 | - |
| WyClinicalReception | 接诊 | - |

组件描述

组件文档

git commit 规范

  • feat:新功能(feature)
  • fix:修补 bug
  • docs:文档(documentation)
  • style: 格式(不影响代码运行的变动)
  • refactor:重构(即不是新增功能,也不是修改 bug 的代码变动)
  • test:增加测试
  • chore:构建过程或辅助工具的变动

发包流程

npm config set registry https://registry.npmjs.org/

npm login

Username:xxx
Password:xxx

Email:xxx

npm publish

构建

命令 说明
npm install 安装依赖 建议 cnpm install
npm run dev 生产环境构建
npm run build 打包
npm login 登陆 npm
npm publish 发版