44 lines
871 B
TypeScript
44 lines
871 B
TypeScript
import { defineConfig } from '@umijs/max';
|
|
import routes from './routes';
|
|
|
|
export default defineConfig({
|
|
clickToComponent: {},
|
|
antd: {
|
|
style: 'less',
|
|
configProvider: {
|
|
componentSize: 'large',
|
|
theme: {
|
|
'root-entry-name': 'variable',
|
|
cssVar: true,
|
|
hashed: false,
|
|
components: {
|
|
Input: {
|
|
inputFontSize: 12
|
|
},
|
|
Table: {
|
|
cellFontSize: 12
|
|
}
|
|
},
|
|
token: {
|
|
colorPrimary: '#2fbf85',
|
|
borderRadius: 20,
|
|
motion: true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
hash: true,
|
|
access: {},
|
|
model: {},
|
|
initialState: {},
|
|
request: {},
|
|
// locale: {
|
|
// // 默认使用 src/locales/zh-CN.ts 作为多语言文件
|
|
// default: 'zh-CN',
|
|
// baseSeparator: '-',
|
|
// },
|
|
layout: false,
|
|
routes,
|
|
npmClient: 'pnpm'
|
|
}) as any;
|