Skip to content

WebUI Module Development

更新: 8/20/2025字数: 0 字时长: 0 分钟

ShiroSU's WebUI standard adheres to KerenlSU, please refer to theKerenlSU Module WebUIfor detailed specifications.

In addition, ShiroSU's WebUI JavaScript interface'smoduleInfofunction provides an extraupdatablevalue, which will be affected by the user's network environment.

Module Directory Structure

The module directory should follow the following structure:

.
├── module.prop
└── webroot
  ├── index.html
  └── Other Web Resources...

Thewebrootdirectory is the root directory of the WebUI, containing all frontend resources.

Development Demo

We provide a simple WebUI Demo, which usesvitefor bundling and is based onvue3, and integratesKernelSUpackage to help you get started quickly.

Contributors

Changelog

/en/dev/webui