feat: init
This commit is contained in:
36
.umirc.ts
Normal file
36
.umirc.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
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',
|
||||
});
|
Reference in New Issue
Block a user