Go to file
时启龙 0b5d36ef07 docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:53 +08:00
backup init 2024-03-14 11:36:22 +08:00
public init 2024-03-14 11:36:22 +08:00
script init 2024-03-14 11:36:22 +08:00
src fix: 隐藏创建 lvm 选项 2024-11-08 14:04:49 +08:00
.browserslistrc init 2024-03-14 11:36:22 +08:00
.editorconfig init 2024-03-14 11:36:22 +08:00
.env.development init 2024-03-14 11:36:22 +08:00
.env.production init 2024-03-14 11:36:22 +08:00
.eslintignore init 2024-03-14 11:36:22 +08:00
.eslintrc.js init 2024-03-14 11:36:22 +08:00
.gitignore init 2024-03-14 11:36:22 +08:00
.prettierrc style: 格式化 2024-10-30 09:56:24 +08:00
Jenkinsfile fix: 修改 jenkins 配置 2024-03-14 14:19:13 +08:00
README.md docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:53 +08:00
auto-imports.d.ts init 2024-03-14 11:36:22 +08:00
babel.config.js init 2024-03-14 11:36:22 +08:00
commitlint.config.js init 2024-03-14 11:36:22 +08:00
components.d.ts init 2024-03-14 11:36:22 +08:00
package.json fix: 更新依赖 2024-08-07 16:33:38 +08:00
pnpm-lock.yaml fix: 常规作业-新增作业-ct平台选择服务器报错 2024-09-18 15:27:18 +08:00
postcss.config.js init 2024-03-14 11:36:22 +08:00
tsconfig.json init 2024-03-14 11:36:22 +08:00
vue.config.js fix: 改为 efc 的开发代理 2024-09-27 14:51:53 +08:00

README.md

博云 CMP Web 前端项目

环境准备

  • Node.js 16+
  • pnpm 7+

快速开始

  1. 配置私有 NPM 源
# 设置 registry
npm config set registry http://58.210.154.140:13011/repository/bocloud-npm/
npm config set _auth Ym9jbG91ZDpjbXBAdjU4Nw==

# npm 相关配置
npm config set auto-install-peers=true
npm config set strict-peer-dependencies=false
npm config set shamefully-hoist=true
npm config set always-auth true
  1. 安装依赖
pnpm install
  1. 本地开发
pnpm run serve  # 推荐:使用 vue-cli-service
  1. 项目构建
pnpm run build

注意事项

  • 不推荐使用 vite 进行开发,存在兼容性问题
  • 建议使用 vue-cli-service serve 进行本地开发