Files
template-visual/config/config.js
Qingtian239113 6afcaa96fe Initial commit
2022-03-28 17:29:25 +08:00

32 lines
549 B
JavaScript

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",
},
});