# youhu-element-admin

vue-element-admin:点击查看 (opens new window)

# 介绍:

基于vue-element-admin和element的vue2版本封装,用于快速管理后台应用

# 安装依赖

TIP

因为在安装过程中曾经出现过各种报错,这里就不详述经过,直接执行以下命令.避免踩坑

# 前提

git config --global url."https://".insteadOf git://
git config --global http.sslVerify false

# 淘宝镜像

npm install  --registry=https://registry.npm.taobao.org

# 腾讯镜像

npm install  --registry=https://mirrors.cloud.tencent.com/npm/

# 运行

依赖成功安装以后

# 配置开发和生产环境变量

  • 开发环境
cp .env.dev.example .env.dev
  • 生产环境
cp .env.production.example .env.production

# 开发运行

npm run dev

# 生产运行

npm run build:prod
Last Updated: 2/6/2025, 3:31:13 PM