# install-components **Repository Path**: greasen/install-components ## Basic Information - **Project Name**: install-components - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-17 - **Last Updated**: 2021-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hema-ui-service ### 业务公共组件使用 参考 element ui 源码; 业务正常写,接口地址通过props 传递, // package/index.js 新增业务组件, 放在 Components 数组中, 传参通过 props 接收; 使用: 新增 UI 组件,绑定在 vue 的原型上; 例如: toast,使用的时候 this.$tosat 使用 ### 打包 生成入口文件 index.js ``` npm run build-bundle ``` ## 发布包 ``` 需要在当前项目根目录下 npm publish --registry=http://192.168.32.188:8081/repository/npm-dl-hosted/ ``` ### 删除包 npm unpublish hema-ui-test@1.0.0 --registry=http://192.168.32.188:8081/repository/npm-dl-hosted/ 包名,以及版本号 ### 更新包 ``` ``` ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).