前端: 添加前端README
This commit is contained in:
parent
12cdef8a4d
commit
7eb6d851de
@ -1,18 +1,24 @@
|
||||
# CloudDisk Frontend
|
||||
|
||||
## 开发指南
|
||||
## 开发
|
||||
|
||||
### 安装
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
### 开发模式
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### 构建
|
||||
## 构建
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
## 目录结构
|
||||
|
||||
- src/main - Electron主进程
|
||||
- src/renderer - React渲染进程
|
||||
- components - React组件
|
||||
- hooks - 自定义钩子
|
||||
- stores - 状态管理
|
||||
- utils - 工具函数
|
||||
- constants - 常量定义
|
||||
|
||||
Loading…
Reference in New Issue
Block a user