feat(web): 搭建应用骨架并完善开发环境配置

This commit is contained in:
2026-09-02 22:42:21 +08:00
parent 09e5207c83
commit 403f6cfa27
43 changed files with 2056 additions and 2356 deletions
+8 -19
View File
@@ -1,21 +1,10 @@
import { App as AntdApp, ConfigProvider, Typography } from 'antd';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import './index.css';
import App from './App';
import 'antd/dist/reset.css';
function Root() {
return (
<ConfigProvider>
<AntdApp>
<main style={{ margin: '64px auto', maxWidth: 840, padding: '0 24px' }}>
<Typography.Title>Atlas Seller Kit</Typography.Title>
<Typography.Paragraph>
卖家商品工作台初始化完成。账户、平台上下文和门店模块将在此基础上实现。
</Typography.Paragraph>
</main>
</AntdApp>
</ConfigProvider>
);
}
createRoot(document.getElementById('root')!).render(<Root />);
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
);