| 12345678910111213141516171819202122232425262728293031323334 |
- import { defineConfig } from '@umijs/max';
- export default defineConfig({
- antd: {},
- access: {},
- model: {},
- initialState: {},
- request: {},
- layout: {
- title: 'Blacklist Config',
- layout: 'top',
- },
- routes: [
- {
- path: '/',
- redirect: '/blacklist',
- layout: false,
- },
- {
- name: '登录',
- path: '/login',
- component: './Login',
- layout: false,
- hideInMenu: true,
- },
- {
- name: '黑名单配置',
- path: '/blacklist',
- component: './Home',
- layout: false,
- },
- ],
- npmClient: 'npm',
- });
|