Go to file
haoxr f9d3d29bbe docs: 📝 说明文档格式优化 2023-05-21 22:39:19 +08:00
.husky chore: 🔨 代码提交规范配置 2023-04-15 23:36:35 +08:00
public feat: 添加网页ico图标 2022-11-08 23:51:25 +08:00
src fix: 🐛 eslint 打包警告问题修复 2023-05-21 15:42:22 +08:00
.editorconfig chore: 🔨 代码检测和格式化配置 2023-04-15 23:35:07 +08:00
.env.development refactor: 项目细节优化 2022-03-27 21:45:50 +08:00
.env.production fix(.env.production): 🐛 nODE_ENV=production is not supported in the .env file 2023-05-07 21:16:26 +08:00
.env.staging refactor: 项目细节优化 2022-03-27 21:45:50 +08:00
.eslintignore chore: 🔨 代码检测和格式化配置 2023-04-15 23:35:07 +08:00
.eslintrc-auto-import.json feat: 自动导入change 2023-03-11 21:56:02 +08:00
.eslintrc.cjs chore(.eslintrc.cjs): 🔨 根据官方文档配置解决 `eslint` 和 `prettier` 的冲突问题 2023-05-16 01:04:07 +08:00
.gitignore feat: 新增pnpm忽略文件配置 2023-02-06 00:56:41 +08:00
.prettierignore chore: 🔨 代码检测和格式化配置 2023-04-15 23:35:07 +08:00
.prettierrc.cjs chore: 🔨 代码检测和格式化配置 2023-04-15 23:35:07 +08:00
.stylelintignore chore: 🔨 代码检测和格式化配置 2023-04-15 23:35:07 +08:00
.stylelintrc.cjs chore: 🔨 修改`stylelint`对未知属性的处理配置 2023-04-18 07:34:37 +08:00
CHANGELOG.md docs: 📝 项目说明文档和变更文档更新 2023-05-21 22:28:58 +08:00
LICENSE docs(LICENSE.md): add LICENSE. 2022-03-27 14:00:09 +00:00
README.md docs: 📝 说明文档格式优化 2023-05-21 22:39:19 +08:00
commitlint.config.cjs chore: 🔨 修改 commitlint 的图标 2023-05-21 15:24:11 +08:00
index.html feat: 暗黑模式自定义样式统一调整 2023-01-17 23:20:29 +08:00
package.json chore: 🔨 版本号升级 2023-05-21 22:25:53 +08:00
tsconfig.json chore: 🔨 修改`tsconfg`配置 2023-04-15 23:50:29 +08:00
tsconfig.node.json chore: 🔨 修改`tsconfg`配置 2023-04-15 23:50:29 +08:00
vite.config.ts perf(vite.config.ts): 添加项目依赖至预构建,避免首次进入页面二次加载 2023-05-12 13:16:44 +08:00

README.md

vue3-element-admin官方文档 | 在线预览

项目介绍

vue3-element-admin 是基于 Vue3 + Vite4+ TypeScript5 + Element-Plus + Pinia 等技术栈构建的后台管理前端模板(配套后端源码)。

项目特色

  • 基于 vue-element-admin 升级的 Vue3 版本,主流技术栈,无过度自定义封装,极易上手,减少学习成本;
  • 配套 Java 后台接口,非 Mock 数据,在线接口文档
  • 系统功能:用户、角色、菜单、字典管和部门管理等;
  • 基础设施:动态路由,按钮权限,常用组件封装。

项目预览

项目地址

项目 Gitee Github GitCode
前端 vue3-element-admin vue3-element-admin vue3-element-admin
后端 youlai-boot youlai-boot youlai-boot

环境准备

环境 名称版本 备注
开发工具 VSCode 下载地址
运行环境 Node 16+ 下载地址
VSCode插件(必装) 1. Vue Language Features (Volar)
2. TypeScript Vue Plugin (Volar)
3. 禁用 Vetur
image-20230224222541797

项目启动

# 克隆代码
git clone https://gitee.com/youlaiorg/vue3-element-admin.git

# 安装 pnpm
npm install pnpm -g

# 安装依赖
pnpm install

# 启动运行
pnpm run dev

项目部署

# 项目打包
pnpm run build:prod

# 上传文件至远程服务器
将打包生成在 `dist` 目录下的文件拷贝至 `/usr/share/nginx/html` 目录

# nginx.cofig 配置
server {
	listen     80;
	server_name  localhost;
	location / {
			root /usr/share/nginx/html;
			index index.html index.htm;
	}
	# 反向代理配置
	location /prod-api/ {
			proxy_pass http://vapi.youlai.tech/; # vapi.youlai.tech替换成你的后端API地址
	}
}

接口支持

项目文档

提交规范

执行唤起 git commit 交互,根据提示完成信息的输入和选择。

交流群❤️

如果交流群的二维码已过期,请加我微信,备注「前端」或「全栈」,我将邀请您加入相应的群组。