From 4e4951cc009ddc4bc88c326b665736096717684c Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 8 Feb 2025 10:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20readme.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 91 +++++++++---------------------------------------------- 1 file changed, 14 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index a97ac1a..af773a8 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,6 @@ -
- - - - - - - - ## 项目简介 -[vue3-element-admin](https://gitcode.com/youlai/vue3-element-admin) 是基于 Vue3 + Vite5+ TypeScript5 + Element-Plus + Pinia 等主流技术栈构建的免费开源的中后台管理的前端模板(配套[Java 后端源码](https://gitee.com/youlaiorg/youlai-boot))。 - +[vue3-element-admin](https://gitcode.com/youlai/vue3-element-admin) 是基于 Vue3 + Vite5+ TypeScript5 + Element-Plus + Pinia 等主流技术栈构建的免费开源的中后台管理的前端模板 ## 项目特色 @@ -48,8 +14,6 @@ - **持续更新**:项目持续开源更新,实时更新工具和依赖。 - - ## 项目预览  @@ -58,13 +22,12 @@  -## 项目源码 +## 项目参考源码 | 项目 | Gitee | Github | GitCode| | ---- | ----| ---- | ---- | | 前端 | [vue3-element-admin](https://gitee.com/youlaiorg/vue3-element-admin) | [vue3-element-admin](https://github.com/youlaitech/vue3-element-admin) | [vue3-element-admin](https://gitcode.com/youlai/vue3-element-admin) | | 精简版 | [vue3-element-template](https://gitee.com/youlaiorg/vue3-element-template) | [vue3-element-template](https://github.com/youlaitech/vue3-element-template) |-| -| 后端 | [youlai-boot](https://gitee.com/youlaiorg/youlai-boot) | [youlai-boot](https://github.com/haoxianrui/youlai-boot.git) |[youlai-boot](https://gitcode.com/youlai/youlai-boot.git)| ## 环境准备 @@ -73,7 +36,6 @@ | **开发工具** | VSCode | [下载](https://code.visualstudio.com/Download) | | **运行环境** | Node ≥18 (其中 20.6.0 版本不可用) | [下载](http://nodejs.cn/download) | - ## 项目启动 ```bash @@ -96,8 +58,6 @@ pnpm install pnpm run dev ``` - - ## 项目部署 ```bash @@ -109,17 +69,17 @@ pnpm run build # nginx.cofig 配置 server { - listen 80; - server_name localhost; - location / { - root /usr/share/nginx/html; - index index.html index.htm; - } - # 反向代理配置 - location /prod-api/ { + listen 80; + server_name localhost; + location / { + root /usr/share/nginx/html; + index index.html index.htm; + } + # 反向代理配置 + location /prod-api/ { # api.youlai.tech 替换后端API地址,注意保留后面的斜杠 / - proxy_pass http://api.youlai.tech/; - } + proxy_pass http://api.youlai.tech/; + } } ``` @@ -129,12 +89,7 @@ server { ## 后端接口 -> 如果您具备Java开发基础,按照以下步骤将在线接口转为本地后端接口,创建企业级前后端分离开发环境,助您走向全栈之路。 - -1. 获取基于 `Java` 和 `SpringBoot` 开发的后端 [youlai-boot](https://gitee.com/youlaiorg/youlai-boot.git) 源码。 -2. 根据后端工程的说明文档 [README.md](https://gitee.com/youlaiorg/youlai-boot#%E9%A1%B9%E7%9B%AE%E8%BF%90%E8%A1%8C) 完成本地启动。 -3. 修改 `.env.development` 文件中的 `VITE_APP_API_URL` 的值,将其从 https://api.youlai.tech 更改为 http://localhost:8989 即可。 - +1. 修改 `.env.development` 文件中的 `VITE_APP_API_URL` 的值,将其从