P3: 前端工程化搭建 - Vite + React 多入口脚手架

- vite.config.js 双入口(前台 index + 后台 admin),产物输出 public/dist
- 前台 App 布局壳 + 11 条路由占位;api client/theme/utils 共享层
- index.html 保留 ${site_name} 等占位符与 style.css 引用(UI 100% 还原基础)
- dev 代理 3101,构建产物 gitignored
This commit is contained in:
2026-08-06 22:29:03 +08:00
parent b319584012
commit 1bed2dda5f
24 changed files with 1237 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
import React from "react";
import Placeholder from "./Placeholder.jsx";
export default function Login() {
return <Placeholder name="登录" />;
}