用于控制允斯透传器的网页 https://github.com/kerms/wireless-esp32-tools-web-host 的镜像仓库
Go to file
kerms 5f002865f1 add gitattributes to force set_env.sh be LF ending 2024-07-15 17:11:01 +08:00
src add help.svg for tooltip 2024-07-15 17:10:30 +08:00
.env.development feat(wifi,ws) view page 2024-04-01 15:40:39 +08:00
.env.production feat(wifi,ws) view page 2024-04-01 15:40:39 +08:00
.eslintrc.cjs initial commit 2024-03-22 14:06:06 +08:00
.gitattributes add gitattributes to force set_env.sh be LF ending 2024-07-15 17:11:01 +08:00
.gitignore feat(wifiView) add disconnection info 2024-04-17 18:32:07 +08:00
.prettierrc.json initial commit 2024-03-22 14:06:06 +08:00
LICENCE.txt add MIT licence 2024-05-22 19:55:00 +08:00
README.md minor(set_env,readme) change #!/bin/bash to #!/usr/bin/env bash for better portability 2024-07-07 10:37:04 +08:00
env.d.ts move logs to dev mode only, change navbar connection icon 2024-04-02 10:06:20 +08:00
index.html feat(wifi,ws) view page 2024-04-01 15:40:39 +08:00
package-lock.json fix(svg logo) update package.json and lock 2024-07-15 17:00:47 +08:00
package.json fix(svg logo) update package.json and lock 2024-07-15 17:00:47 +08:00
postcss.config.js initial commit 2024-03-22 14:06:06 +08:00
set_env.sh fix(set_env) error:bad variable name, make compatible to sh 2024-07-07 10:39:44 +08:00
tailwind.config.js initial commit 2024-03-22 14:06:06 +08:00
tsconfig.app.json initial commit 2024-03-22 14:06:06 +08:00
tsconfig.json initial commit 2024-03-22 14:06:06 +08:00
tsconfig.node.json initial commit 2024-03-22 14:06:06 +08:00
vite.config.ts feat(wifiView) add disconnection info 2024-04-17 18:32:07 +08:00

README.md

允斯无线透传器的内嵌网页版上位机

此项目使用NPM包管理, 需要先安装node工具。

环境准备步骤

本地测试:
  1. npm install
  2. npm run dev,或用 npm run devh 则可以用其他设备访问,如手机调试移动界面。
  3. 根据显示的地址,使用浏览器打开,默认地址为localhost:5173 或者其他设备访问192.168.X.X:5173
发布至esp32
  1. npm install
  2. npm run build -> 会在dist/生成index.htmlws.sharedworker.js
  3. dist/里执行gzip * -> -> 会在dist/生成index.html.gzws.sharedworker.js.gz
  4. 至此可以使用这两个文件覆盖ESP32目录中的project_components/html里相对应的文件了。