build(前端): 配置部署子路径并修复html末尾换行

配置vite的base为/app_03/、路由的basename为/app_03,同时修复index.html缺少末尾换行的问题
This commit is contained in:
2026-05-21 17:10:19 +08:00
parent 409dabafb5
commit fd1aea1687
3 changed files with 3 additions and 2 deletions

View File

@@ -125,4 +125,4 @@ export const router = createBrowserRouter([
},
],
},
]);
], { basename: "/app_03" });