邃芒慧影、口播(PC) https://neuver.metavatar.cc/
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

README.md 4.9 KiB

1 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <p align="center">
  2. <img src="https://img.shields.io/badge/Vue-3.2.45-brightgreen.svg" />
  3. <img src="https://img.shields.io/badge/Vite-4.3.1-green.svg" />
  4. <img src="https://img.shields.io/badge/Element Plus-2.3.1-blue.svg" />
  5. <img src="https://img.shields.io/badge/license-MIT-green.svg" />
  6. <a href="https://gitee.com/youlaiorg" target="_blank">
  7. <img src="https://img.shields.io/badge/Author-有来开源组织-orange.svg" />
  8. </a>
  9. </p>
  10. <p align="center">
  11. <a target="_blank" href="https://www.cnblogs.com/haoxianrui/p/17331952.html">vue3-element-admin官方文档</a> | <a
  12. target="_blank" href="http://vue3.youlai.tech">在线预览</a>
  13. </p>
  14. ## 项目介绍
  15. [vue3-element-admin](https://gitee.com/youlaiorg/vue3-element-admin) 是基于
  16. [vue-element-admin](https://gitee.com/panjiachen/vue-element-admin) 升级的 `Vue3` 版本后台管理框架,使用
  17. Vue3、Vite4、TypeScript、Pinia、Element Plus 当前主流技术栈开发。
  18. ## 项目特色
  19. - 基于 `vue-element-admin` 升级的 `Vue3` 版本,主流技术栈,无过度自定义封装,极易上手,减少学习成本;
  20. - 配套 `Java` 后台接口,非 `Mock`
  21. 数据,[在线接口文档](https://www.apifox.cn/apidoc/shared-195e783f-4d85-4235-a038-eec696de4ea5/api-65851240);
  22. - 从 `0` 到 `1` 的项目文档支持,[官方文档](https://www.cnblogs.com/haoxianrui/p/16090029.html)。
  23. - 系统功能:用户、角色、菜单、字典管和部门管理等;
  24. - 基础设施:动态路由,按钮权限,常用组件封装。
  25. ## 技术栈
  26. | 技术栈 | 描述 | 官网 |
  27. | --- | --- | --- |
  28. | Vue3 | 渐进式 JavaScript 框架 | https://v3.cn.vuejs.org/ |
  29. | TypeScript | JavaScript 的一个超集 | https://www.tslang.cn/ |
  30. | Vite | 前端开发与构建工具 | https://cn.vitejs.dev/ |
  31. | Element Plus | 基于 Vue 3,面向设计师和开发者的组件库 | https://element-plus.gitee.io/zh-CN/ |
  32. | Pinia | 新一代状态管理工具 | https://pinia.vuejs.org/ |
  33. | Vue Router | Vue.js 的官方路由 | https://router.vuejs.org/zh/ |
  34. ## 项目预览
  35. **在线预览地址**: [http://vue3.youlai.tech/](http://vue3.youlai.tech/)
  36. **控制台 & 接口文档**
  37. | ![暗黑模式](https://s2.loli.net/2023/03/13/QvjY4zf3VCGteNF.png) |
  38. | --------------------------------------------------------------- |
  39. | ![接口文档](https://s2.loli.net/2023/03/13/bH4J3O6WRgCUpwt.png) |
  40. **权限管理系统**
  41. | ![用户管理](https://s2.loli.net/2023/03/13/L9xgT5sSMVZukQj.png) |
  42. ![image-20230313003008012](https://s2.loli.net/2023/03/13/nQg6HmrtFUkPDYv.png) |
  43. | --- | --- |
  44. | ![image-20230313003028425](https://s2.loli.net/2023/03/13/C4fDRJeTuUO7gPI.png) |
  45. ![字典管理](https://s2.loli.net/2023/03/13/BzqjHpa64wfeWhE.png) |
  46. ## 项目地址
  47. | | Gitee | Github |
  48. | --- | --- | --- |
  49. | vue3-element-admin | [vue3-element-admin](https://gitee.com/youlaiorg/vue3-element-admin) |
  50. [vue3-element-admin](https://github.com/youlaitech/vue3-element-admin) |
  51. | 后端 | [youlai-boot](https://gitee.com/youlaiorg/youlai-boot) | [youlai-boot](https://github.com/hxrui/youlai-boot.git)
  52. |
  53. ## 环境要求
  54. - Node 环境
  55. 版本:16+
  56. - 开发工具
  57. VSCode
  58. - 必装插件
  59. - Vue Language Features (Volar)
  60. - TypeScript Vue Plugin (Volar)
  61. ## 项目启动
  62. ```bash
  63. # 安装 pnpm
  64. npm install pnpm -g
  65. # 安装依赖
  66. pnpm install
  67. # 项目运行
  68. pnpm run dev
  69. # 项目打包
  70. pnpm run build:prod
  71. ```
  72. ## 项目部署
  73. - 上传文件
  74. 将打包生成在 `dist` 目录下的文件拷贝至 `/usr/share/nginx/html` 目录
  75. - nginx.cofig 配置
  76. ```
  77. server {
  78. listen 80;
  79. server_name localhost;
  80. location / {
  81. root /usr/share/nginx/html;
  82. index index.html index.htm;
  83. }
  84. # 代理转发 prod-api 标识至 vapi.youlai.tech
  85. location /prod-api/ {
  86. proxy_pass http://vapi.youlai.tech/;
  87. }
  88. }
  89. ```
  90. ## 接口文档
  91. - 接口调用地址:[vapi.youlai.tech](http://vapi.youlai.tech)
  92. - 接口文档地址:[vue3-element-admin
  93. 在线接口文档](https://www.apifox.cn/apidoc/shared-195e783f-4d85-4235-a038-eec696de4ea5/api-65851240)
  94. ## 本地接口
  95. > 默认使用线上接口,你可以通过以下步骤完成本地接口环境搭建:
  96. 1. 获取基于 `Java 、SpringBoot` 开发的后端 [youlai-boot](https://gitee.com/youlaiorg/youlai-boot.git) 源码 ;
  97. 2. 根据后端工程说明文档 [README.md](https://gitee.com/youlaiorg/youlai-boot#%E9%A1%B9%E7%9B%AE%E8%BF%90%E8%A1%8C) 完成本地启动;
  98. 3. 替换 [vite.config.ts](vite.config.ts) 的代理目标地址 [vapi.youlai.tech](vapi.youlai.tech) 为本地的
  99. [localhost:8989](localhost:8989) 。
  100. ## 关于我们
  101. > 欢迎加我的微信,备注 `前端`、`后端`、`全栈` 进对应技术交流群
  102. | 微信交流群 | 我的微信 |
  103. | --- | --- |
  104. | ![](https://s2.loli.net/2023/05/06/NwhFvKqZ4zjfO5i.png)| ![](https://s2.loli.net/2022/04/06/yRx8uzj4emA5QVr.jpg) |
  105. ![](https://s2.loli.net/2022/11/19/OGjum9wr8f6idLX.png)
  106. git commit -m "feat: "
  107. git commit --no-verify -m "提交时的注释" 跳过检验
  108. git merge origin/dev_