本仓库用于手动验证同时配置 / 和 /* 后的部署结果。
{
"type": "static",
"outputDirectory": "public",
"routes": [
{ "path": "/", "rewrite": "/index.html" },
{ "path": "/*", "rewrite": "/index.html" }
]
}
无依赖、无安装及构建命令。产物包含 index.html、独立 CSS 和 JS。
/,触发唯一键冲突,更新路由返回 500 replace failed。本仓库当前尚未发起在线部署,供人工验证。注意:此用例检查部署冲突,不将 SPA 通配回退视为平台已承诺能力。
对照项目(只保留 /):https://dev.wehub.plus/yf/mo184-spa-root-only
对照 Preview:https://uqgbf745nu.dev.wehub.site