ShiroSU 的 WebUI 标准与 KerenlSU 保持一致,详细规范请参考 KerenlSU 模块 WebUI
模块目录应遵循以下结构:
.
├── module.prop
└── webroot
├── index.html (仅可为 index.html!不可为 index.htm 等)
└── 其他网页资源...
webroot
目录是 WebUI 的根目录,包含所有前端资源module.prop
为模块描述文件
本项目基于 Vue 3 + TypeScript + Vite 开发,集成了 KernelSU 包,便于快速开发和打包
- 安装依赖:
pnpm install
- 启动开发服务器:
pnpm dev
- 构建生产包 (产物会输出到
dist
):pnpm build