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.

config.ts 507B

11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
11 miesięcy temu
12345678910111213141516171819202122232425262728293031323334
  1. import { defineConfig } from '@umijs/max';
  2. import routes from './routes';
  3. const mode = process.env.mode;
  4. export default defineConfig({
  5. define: {
  6. "process.env": {
  7. BUILD_ENV: JSON.stringify(mode)
  8. }
  9. },
  10. dva: {},
  11. antd: {},
  12. access: {
  13. },
  14. model: {},
  15. initialState: {
  16. },
  17. request: {},
  18. layout: {
  19. title: '菊城人才网',
  20. logo: '/images/logo_1.jpg',
  21. token: {
  22. colorPrimary: '#4FBE70'
  23. },
  24. },
  25. routes: routes,
  26. hash: true,
  27. npmClient: 'npm',
  28. });