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:
@@ -0,0 +1,6 @@
|
||||
import React from "react";
|
||||
import Placeholder from "./Placeholder.jsx";
|
||||
|
||||
export default function Login() {
|
||||
return <Placeholder name="登录" />;
|
||||
}
|
||||
Reference in New Issue
Block a user