37 lines
620 B
TypeScript
37 lines
620 B
TypeScript
import { defineConfig } from '@umijs/max';
|
|
|
|
export default defineConfig({
|
|
antd: {},
|
|
access: {},
|
|
model: {},
|
|
initialState: {},
|
|
request: {},
|
|
title: '五味子云存储',
|
|
favicons: ['logo.png'],
|
|
layout: {
|
|
title: '五味子云存储',
|
|
},
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
redirect: '/login',
|
|
},
|
|
{
|
|
name: '首页',
|
|
path: '/home',
|
|
component: './Home',
|
|
},
|
|
{
|
|
name: '权限演示',
|
|
path: '/access',
|
|
component: './Access',
|
|
},
|
|
{
|
|
name: ' CRUD 示例',
|
|
path: '/table',
|
|
component: './Table',
|
|
},
|
|
],
|
|
npmClient: 'yarn',
|
|
});
|