v-web-comp-ui v2.3.3
vue2 常规后台管理系统模板
# 安装依赖
yarn
or
npm install
# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 启动服务
npm run serve
发布
# 构建开发环境
npm run dev
# 构建生产环境
npm run prod
Git 提交规范
格式示例:
<type>: <subject>
type
用于说明本次提交的类别,必须是以下可选类别中的一个:
ci
: ci 配置文件和脚本的变动;chore
: 构建系统或辅助工具的变动;polish
: 代码或者功能模块的改进和完善;fix
: 代码 BUG 修复;feat
: 新功能;perf
: 性能优化和提升;refactor
: 仅仅是代码变动,既不是修复 BUG 也不是引入新功能;style
: 代码格式调整,可能是空格、分号、缩进等等;docs
: 文档变动;test
: 补充缺失的测试用例或者修正现有的测试用例;revert
: 回滚操作;
发布
<!--
- @Description:
- @Author: JZT.曾康
- @Date: 2020-02-10 10:51:23
- @Last Modified by: JZT.杨环
- @Last Modified time: 2023-05-22 11:52:40 -->
my-component
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration
上传步骤
切换注册地址
npm config set registry=https://nexus3.yyjzt.com/repository/commonComp/
打包
npm run lib
发布
第一步
npm login --registry=https://nexus3.yyjzt.com/repository/commonComp/
uername/pwd email
b2b5 zX1iAAmAm416g1n1LqBW b2b5@yyjzt.cn
第二步
npm publish --registry=https://nexus3.yyjzt.com/repository/commonComp/
components 组件文件夹
assets 静态资源文件夹
index.js 注册入口文件
本地安装
判断当前注册地址
npm config get registry http://nexus3.yyjzt.com/repository/commonComp/
地址正确
npm install common_comp@ 版本号
地址不正确
npm config set registry=http://nexus3.yyjzt.com/repository/commonComp/
npm install jzzc-comp@7.0.0 -i --registry=https://nexus3.yyjzt.com/repository/npm-group
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago