用于控制允斯透传器的网页
https://github.com/kerms/wireless-esp32-tools-web-host 的镜像仓库
|
|
||
|---|---|---|
| src | ||
| .env.development | ||
| .env.production | ||
| .eslintrc.cjs | ||
| .gitattributes | ||
| .gitignore | ||
| .prettierrc.json | ||
| LICENCE.txt | ||
| README.md | ||
| env.d.ts | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| set_env.sh | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
README.md
允斯无线透传器的内嵌网页版上位机
此项目使用NPM包管理, 需要先安装node工具。
环境准备步骤
本地测试:
npm installnpm run dev,或用npm run devh则可以用其他设备访问,如手机调试移动界面。- 根据显示的地址,使用浏览器打开,默认地址为
localhost:5173, 或者其他设备访问192.168.X.X:5173
发布至esp32:
npm installnpm run build-> 会在dist/生成index.html和ws.sharedworker.js- 在
dist/里执行gzip *-> -> 会在dist/生成index.html.gz和ws.sharedworker.js.gz - 至此,可以使用这两个文件覆盖ESP32目录中的
project_components/html里相对应的文件了。