重新整理仓库

This commit is contained in:
2025-07-25 13:48:20 +08:00
parent e53369eda6
commit 40af4ebe65
11 changed files with 121 additions and 114 deletions

View File

@@ -1,5 +1,5 @@
<div align="center">
<h1>🌐 WebSoft Admin</h1>
<h1>🌐 WebSoftAdmin</h1>
<p><strong>基于 Vue 3 + Ant Design Vue 的企业级后台管理系统</strong></p>
<p>
@@ -13,7 +13,7 @@
## 📖 项目简介
WebSoft Admin 是一个基于 **Vue 3 + Ant Design Vue** 构建的现代化企业级后台管理系统,采用最新的前端技术栈:
WebSoftAdmin 是一个基于 **Vue 3 + Ant Design Vue** 构建的现代化企业级后台管理系统,采用最新的前端技术栈:
- **前端框架**Vue 3 + TypeScript + Vite
- **UI 组件库**Ant Design Vue 3.x
@@ -52,7 +52,13 @@ WebSoft Admin 是一个基于 **Vue 3 + Ant Design Vue** 构建的现代化企
## 🚀 快速开始
### 安装依赖
### 1. 克隆项目
```bash
git clone https://github.com/your-username/ele-admin-pro.git
cd ele-admin-pro
```
### 2. 安装依赖
```bash
# 使用 npm
npm install
@@ -61,7 +67,16 @@ npm install
yarn install
```
### 启动开发服务器
### 3. 配置环境变量
```bash
# 复制环境变量示例文件
cp .env.example .env
# 编辑 .env 文件,填入您的配置信息
# 注意:请不要将 .env 文件提交到版本控制系统
```
### 4. 启动开发服务器
```bash
# 开发模式
npm run dev
@@ -72,7 +87,7 @@ yarn dev
访问 `http://localhost:3000` 即可看到管理后台。
### 构建生产版本
### 5. 构建生产版本
```bash
# 生产构建
npm run build
@@ -81,6 +96,38 @@ npm run build
npm run serve
```
## ⚙️ 环境变量配置
项目使用环境变量来管理敏感信息和配置。请按照以下步骤配置:
### 必需配置
```bash
# API 配置
VITE_API_URL=https://your-api.com/api # 后端 API 地址
VITE_THINK_URL=https://your-think-api.com # Think API 地址
VITE_SERVER_API_URL=https://your-server.com/api # 服务器 API 地址
VITE_FILE_SERVER=https://your-file-server.com # 文件服务器地址
# 应用配置
VITE_APP_SECRET=your_app_secret # 应用密钥
VITE_TENANT_ID=your_tenant_id # 租户 ID
```
### 可选配置
```bash
# 高德地图 (如需使用地图功能)
VITE_MAP_KEY=your_map_key # 高德地图 Key
VITE_MAP_CODE=your_map_security_code # 高德地图安全密钥
# WebSoftAdmin 授权 (商业版功能)
VITE_LICENSE_CODE=your_license_code # 授权码
```
### 获取配置信息
- **高德地图密钥**:访问 [高德开放平台](https://lbs.amap.com/) 申请
- **WebSoftAdmin 授权码**:联系 [官方网站](https://websoft.top/) 获取
- **其他 API 配置**:根据您的后端服务配置
## 🎯 核心功能
### 📝 内容管理系统