refactor: 拆分管理端入口并优化构建分包
This commit is contained in:
1 parent
0f6ad8b993
commit
bf4bbf81c7
17 files changed
+455
-353
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { Layout } from "antd";
|
||||
import type { BasicProps } from "antd/es/layout/layout";
|
||||
|
||||
function AdminLayoutBase(props: BasicProps) {
|
||||
return <Layout {...props} />;
|
||||
}
|
||||
|
||||
export const AdminLayout = Object.assign(AdminLayoutBase, {
|
||||
Sider: Layout.Sider,
|
||||
Header: Layout.Header,
|
||||
Content: Layout.Content,
|
||||
});
|
||||
Reference in new issue
Block a user