zhengyiming
9 天以前 0b0a35f9d78e0c03ccdd6ca94d9855787b208b59
.umirc.ts
@@ -1,33 +1,29 @@
import { defineConfig } from '@umijs/max';
import dayjs from 'dayjs';
export default defineConfig({
  outputPath: `dist/dist-${dayjs().format('YYYYMMDD')}`,
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  // layout: {
  //   title: '@umijs/max',
  // },
  mfsu: false,
  qiankun: {
    slave: {
      enable: true,
    },
  },
  base: '/v2/',
  routes: [
    {
      path: '/',
      redirect: '/home',
      redirect: '/about',
    },
    {
      name: '首页',
      path: '/home',
      name: '关于大赛',
      path: '/about',
      component: './Home',
    },
    {
      name: '权限演示',
      path: '/access',
      component: './Access',
    },
    {
      name: ' CRUD 示例',
      path: '/table',
      component: './Table',
    },
  ],
  npmClient: 'pnpm',