24 lines
440 B
TypeScript
24 lines
440 B
TypeScript
import { defineConfig } from 'umi';
|
|
|
|
export default defineConfig({
|
|
nodeModulesTransform: {
|
|
type: 'all',
|
|
},
|
|
hash: true,
|
|
title:"forge",
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
component: '@/layouts/index' ,
|
|
routes:[
|
|
{ path:"/",exact:true,component:"@/pages/users/index" },
|
|
{ path:'/projects',exact:true,component:"@/pages/index" }
|
|
]
|
|
},
|
|
],
|
|
locale:{
|
|
default:"zh-CN",
|
|
antd:true
|
|
}
|
|
});
|