diff --git a/config/config.ts b/config/config.ts index ee0d5eb81e..8f12610c41 100644 --- a/config/config.ts +++ b/config/config.ts @@ -149,6 +149,9 @@ export default defineConfig({ projectName: 'swagger', }, ], + mock: { + include: ['mock/**/*', 'src/pages/**/_mock.ts'], + }, mfsu: { strategy: 'normal', }, diff --git a/src/pages/TableList/components/UpdateForm.tsx b/src/pages/table-list/components/UpdateForm.tsx similarity index 100% rename from src/pages/TableList/components/UpdateForm.tsx rename to src/pages/table-list/components/UpdateForm.tsx diff --git a/src/pages/TableList/index.tsx b/src/pages/table-list/index.tsx similarity index 100% rename from src/pages/TableList/index.tsx rename to src/pages/table-list/index.tsx diff --git a/src/pages/User/Login/__snapshots__/login.test.tsx.snap b/src/pages/user/login/__snapshots__/login.test.tsx.snap similarity index 100% rename from src/pages/User/Login/__snapshots__/login.test.tsx.snap rename to src/pages/user/login/__snapshots__/login.test.tsx.snap diff --git a/src/pages/User/Login/index.tsx b/src/pages/user/login/index.tsx similarity index 100% rename from src/pages/User/Login/index.tsx rename to src/pages/user/login/index.tsx diff --git a/src/pages/User/Login/login.test.tsx b/src/pages/user/login/login.test.tsx similarity index 100% rename from src/pages/User/Login/login.test.tsx rename to src/pages/user/login/login.test.tsx diff --git a/src/pages/User/register-result/style.style.ts b/src/pages/user/register-result/style.style.ts similarity index 100% rename from src/pages/User/register-result/style.style.ts rename to src/pages/user/register-result/style.style.ts diff --git a/src/pages/User/register/style.style.ts b/src/pages/user/register/style.style.ts similarity index 100% rename from src/pages/User/register/style.style.ts rename to src/pages/user/register/style.style.ts