index.ts
1.03 KB
// 页面统一入口(模块化管理:每个页面一个文件夹,默认导出位于 <Page>/index.tsx)
//
// 开发约定(骨架屏):所有含异步数据的页面,loading 期间必须渲染
// <Skeleton />(@uj/ui),并按页面形态选择 variant:
// default —— 概览/卡片型(如 Dashboard)
// table —— 列表/表格型(如门店列表、审批、权限矩阵)
// detail —— 表单/详情型
// 结构见 @uj/ui 的 Skeleton(packages/ui/src/components/Skeleton)。Login / NotFound 等非数据页除外。
export { default as Login } from './Login';
export { default as Dashboard } from './Dashboard';
export { default as StoreListing } from './StoreListing';
export { default as StoreApprove } from './StoreApprove';
export { default as RoleManage } from './RoleManage';
export { default as AccountManage } from './AccountManage';
export { default as Profile } from './Profile';
export { default as TemplateImport } from './TemplateImport';
export { default as NotFound } from './NotFound';