feat: 初始化项目
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { App as AntdApp, ConfigProvider, Typography } from 'antd';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
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 />);
|
||||
Reference in New Issue
Block a user