Go to file
时启龙 99f261117f docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:59 +08:00
bak init 2024-03-14 11:30:18 +08:00
public init 2024-03-14 11:30:18 +08:00
src feat: 业务和项目标签名称统一从接口取 2024-10-29 17:04:52 +08:00
.editorconfig init 2024-03-14 11:30:18 +08:00
.eslintrc.js init 2024-03-14 11:30:18 +08:00
.gitignore init 2024-03-14 11:30:18 +08:00
.prettierrc init 2024-03-14 11:30:18 +08:00
Jenkinsfile init 2024-03-14 11:30:18 +08:00
README.md docs: update README.md to specify pnpm version as 7+ 2024-12-17 16:30:59 +08:00
components.d.ts init 2024-03-14 11:30:18 +08:00
env.d.ts init 2024-03-14 11:30:18 +08:00
index.html init 2024-03-14 11:30:18 +08:00
package.json init 2024-03-14 11:30:18 +08:00
pnpm-lock.yaml fix: 修改代理接口 2024-03-14 14:05:43 +08:00
tsconfig.json init 2024-03-14 11:30:18 +08:00
tsconfig.vite-config.json init 2024-03-14 11:30:18 +08:00
vite.config.ts feat: 业务和项目标签名称统一从接口取 2024-10-29 17:04:52 +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 进行本地开发