Initial commit
This commit is contained in:
31
config/config.js
Normal file
31
config/config.js
Normal file
@@ -0,0 +1,31 @@
|
||||
import {defineConfig} from 'umi';
|
||||
import route from "./route";
|
||||
import proxy from "./proxy";
|
||||
|
||||
|
||||
export default defineConfig({
|
||||
title: '车辆巡检数据大屏',
|
||||
nodeModulesTransform: {
|
||||
type: 'none',
|
||||
},
|
||||
publicPath: "./",
|
||||
history: {
|
||||
type: "hash"
|
||||
},
|
||||
hash: true,
|
||||
routes: route,
|
||||
proxy: proxy,
|
||||
fastRefresh: {},
|
||||
externals: {
|
||||
'react': 'React',
|
||||
'react-dom': 'ReactDOM',
|
||||
},
|
||||
antd: {
|
||||
dark: true, // 开启暗色主题
|
||||
compact: true, // 开启紧凑主题
|
||||
},
|
||||
theme: {
|
||||
"primary-color": "#14FDF7",
|
||||
},
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user