.umirc.ts 585 B

12345678910111213141516171819202122232425262728293031323334
  1. import { defineConfig } from '@umijs/max';
  2. export default defineConfig({
  3. antd: {},
  4. access: {},
  5. model: {},
  6. initialState: {},
  7. request: {},
  8. layout: {
  9. title: 'Blacklist Config',
  10. layout: 'top',
  11. },
  12. routes: [
  13. {
  14. path: '/',
  15. redirect: '/blacklist',
  16. layout: false,
  17. },
  18. {
  19. name: '登录',
  20. path: '/login',
  21. component: './Login',
  22. layout: false,
  23. hideInMenu: true,
  24. },
  25. {
  26. name: '黑名单配置',
  27. path: '/blacklist',
  28. component: './Home',
  29. layout: false,
  30. },
  31. ],
  32. npmClient: 'npm',
  33. });