添加框架内容

This commit is contained in:
linxd
2025-06-16 16:22:26 +08:00
parent 1eabd737a6
commit c7b9ffac10
37 changed files with 2328 additions and 41 deletions

View File

@ -1,11 +1,13 @@
import { defineConfig } from 'umi';
import defaultSettings from './defaultSettings';
import defaultSettings,{antdTheme} from './defaultSettings';
// import proxy from './proxy';
import PageRoutes from './router.config'
const { REACT_APP_ENV } = process.env;
export default defineConfig({
hash: true,
antd: {},
antd: {
},
dva: {
hmr: true,
},
@ -30,6 +32,8 @@ export default defineConfig({
'primary-color': defaultSettings.primaryColor,
'heading-color': defaultSettings.headingColor,
'text-color': defaultSettings.textColor,
// 更改antd 组件颜色
...antdTheme
},
// @ts-ignore
title: false,