Go to file
时启龙 c4286682b0 docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:58 +08:00
public first commit 2024-05-23 09:41:43 +08:00
src chore: 项目 -> 应用系统 2024-10-21 17:12:33 +08:00
types first commit 2024-05-23 09:41:43 +08:00
.browserslistrc first commit 2024-05-23 09:41:43 +08:00
.editorconfig first commit 2024-05-23 09:41:43 +08:00
.env.development first commit 2024-05-23 09:41:43 +08:00
.env.production first commit 2024-05-23 09:41:43 +08:00
.eslintrc.js first commit 2024-05-23 09:41:43 +08:00
.gitignore chore: 增加忽略文件 2024-09-23 17:05:47 +08:00
.prettierrc chore: 修改杂项 2024-05-23 09:56:03 +08:00
Jenkinsfile fix: 增加jenkins文件 2024-05-23 09:46:24 +08:00
README.md docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:58 +08:00
babel.config.js first commit 2024-05-23 09:41:43 +08:00
package.json chore: 添加依赖 2024-05-23 10:12:05 +08:00
pnpm-lock.yaml chore: 更新依赖 2024-05-23 10:32:32 +08:00
tsconfig.json first commit 2024-05-23 09:41:43 +08:00
vue.config.js chore: 修改杂项 2024-05-23 09:56:03 +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 进行本地开发