Initial commit

This commit is contained in:
Qingtian239113
2022-03-28 17:29:25 +08:00
commit 6afcaa96fe
83 changed files with 3901 additions and 0 deletions

31
config/config.js Normal file
View 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",
},
});