添加框架内容
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user