ry_wms/zbf-ui
2025-12-18 09:40:45 +08:00
..
bin 重新初始化项目 2025-12-15 11:20:18 +08:00
build 重新初始化项目 2025-12-15 11:20:18 +08:00
public 重新初始化项目 2025-12-15 11:20:18 +08:00
src 美化首页和当前库存页面, 修改顶部栏title和logo为利德尔 2025-12-18 09:40:45 +08:00
.editorconfig 重新初始化项目 2025-12-15 11:20:18 +08:00
.env.development 重新初始化项目 2025-12-15 11:20:18 +08:00
.env.production 重新初始化项目 2025-12-15 11:20:18 +08:00
.env.staging 重新初始化项目 2025-12-15 11:20:18 +08:00
.eslintignore 重新初始化项目 2025-12-15 11:20:18 +08:00
.eslintrc.js 重新初始化项目 2025-12-15 11:20:18 +08:00
.gitignore 重新初始化项目 2025-12-15 11:20:18 +08:00
babel.config.js 重新初始化项目 2025-12-15 11:20:18 +08:00
package.json 重新初始化项目 2025-12-15 11:20:18 +08:00
README.md 重新初始化项目 2025-12-15 11:20:18 +08:00
vue.config.js 重新初始化项目 2025-12-15 11:20:18 +08:00

开发

# 克隆项目
git clone https://gitee.com/y_project/RuoYi-Vue

# 进入项目目录
cd ruoyi-ui

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com

# 启动服务 报错看下面
npm run dev

#Error: error:0308010C:digital envelope routines::unsupported #终端输入 #package.json中添加 SET NODE_OPTIONS=--openssl-legacy-provider #如下: #"scripts": { #"dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",

#"build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build"

#},

#浏览器访问 http://localhost:80

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod