Files
rainblogweb/frontend/src/pages/Placeholder.jsx
T
miaomiao 1bed2dda5f 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
2026-08-06 22:29:03 +08:00

13 lines
364 B
React

import React from 'react';
export default function Placeholder({ name }) {
return (
<div className="page">
<div className="card" style={{ textAlign: 'center', padding: '64px 16px' }}>
<h2 style={{ marginBottom: '12px' }}>{name}</h2>
<p style={{ color: 'var(--md-ref-on-surface-variant)' }}>建设中</p>
</div>
</div>
);
}