.umirc.ts 355 B

123456789101112131415161718192021222324
  1. import { defineConfig } from '@umijs/max';
  2. export default defineConfig({
  3. antd: {},
  4. access: {},
  5. model: {},
  6. initialState: {},
  7. request: {},
  8. layout: false,
  9. routes: [
  10. {
  11. path: '/',
  12. redirect: '/table',
  13. },
  14. {
  15. name: ' CRUD 示例',
  16. path: '/table',
  17. component: './Table',
  18. },
  19. ],
  20. npmClient: 'pnpm',
  21. });