初始化提交
This commit is contained in:
43
mengyalinkfly-frontend/README.md
Normal file
43
mengyalinkfly-frontend/README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# 萌芽短链接 - 前端
|
||||
|
||||
基于 React + Vite 构建的短链接生成前端界面。
|
||||
|
||||
## 功能
|
||||
|
||||
- 创建自定义或随机生成的 4 位短链接代码
|
||||
- 实时检查链接代码可用性
|
||||
- 一键复制生成的短链接
|
||||
- 淡绿色渐变清新界面设计
|
||||
- 移动端友好的响应式布局
|
||||
|
||||
## 安装和运行
|
||||
|
||||
```bash
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
# 启动开发服务器
|
||||
npm run dev
|
||||
|
||||
# 构建生产版本
|
||||
npm run build
|
||||
|
||||
# 预览生产构建
|
||||
npm run preview
|
||||
```
|
||||
|
||||
## 技术栈
|
||||
|
||||
- React 19
|
||||
- Vite
|
||||
- Axios
|
||||
- CSS3 (渐变、动画、响应式)
|
||||
|
||||
## 代理配置
|
||||
|
||||
开发环境下,所有 `/api` 请求会被代理到 `http://localhost:5000`(后端服务)
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
支持所有现代浏览器的最新版本。
|
||||
|
||||
Reference in New Issue
Block a user