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 509B

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