聊天test , 基于umi antd
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.

40 lines
644 B

7 months 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. name: '客服聊天',
  33. path: '/chat',
  34. component: './Chat',
  35. },
  36. ],
  37. npmClient: 'pnpm',
  38. });