You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
555 B

2 years ago
  1. import { defineConfig } from '@umijs/max';
  2. export default defineConfig({
  3. antd: {},
  4. access: {},
  5. model: {},
  6. initialState: {},
  7. request: {},
  8. layout: {
  9. title: '@umijs/max',
  10. },
  11. routes: [
  12. {
  13. path: '/',
  14. redirect: '/home',
  15. },
  16. {
  17. name: '首页',
  18. path: '/home',
  19. component: './Home',
  20. },
  21. {
  22. name: '权限演示',
  23. path: '/access',
  24. component: './Access',
  25. },
  26. {
  27. name: ' CRUD 示例',
  28. path: '/table',
  29. component: './Table',
  30. },
  31. ],
  32. npmClient: 'yarn',
  33. });