Skip to content

Commit 5903393

Browse files
committed
更新README
1 parent 7f8c37b commit 5903393

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,36 @@
11
#ESP32WebScopeUI
2+
3+
### 简介
4+
5+
基于ESP32最小系统板制作的网页示波器+波形发生器,本仓库存放的是web界面代码
6+
7+
- 采用`vue3.0`+`vite3`+`ts`开发(新手边学边做的,代码很菜)
8+
- 界面布局则采用了`element-plus`
9+
- 同时项目尝试了使用按需引入+自动导入的方式减少了编译后的文件体积
10+
- 支持切换深色模式
11+
- 通过websocket与ESP32通信
12+
13+
主界面如图所示:
14+
15+
![overview](./image/overview.png)
16+
17+
### 编译及使用方法
18+
19+
首先克隆代码并安装依赖
20+
21+
```bash
22+
yarn install
23+
```
24+
25+
开发环境使用(带热更新):
26+
27+
```bash
28+
yarn run dev
29+
```
30+
31+
在生产环境使用,编译并预览:
32+
33+
```bash
34+
yarn run build
35+
yarn run preview
36+
```

image/overview.png

149 KB
Loading

0 commit comments

Comments
 (0)