zhengyiming
9 天以前 0b0a35f9d78e0c03ccdd6ca94d9855787b208b59
.umirc.ts
@@ -1,6 +1,8 @@
import { defineConfig } from '@umijs/max';
import dayjs from 'dayjs';
export default defineConfig({
  outputPath: `dist/dist-${dayjs().format('YYYYMMDD')}`,
  antd: {},
  access: {},
  model: {},
@@ -8,13 +10,11 @@
  request: {},
  mfsu: false,
  qiankun: {
    slave: {},
    slave: {
      enable: true,
    },
  },
  base: '/v2/',
  publicPath: '/v2/',
  // layout: {
  //   title: '@umijs/max',
  // },
  routes: [
    {
      path: '/',
@@ -25,16 +25,6 @@
      path: '/about',
      component: './Home',
    },
    // {
    //   name: '权限演示',
    //   path: '/access',
    //   component: './Access',
    // },
    // {
    //   name: ' CRUD 示例',
    //   path: '/table',
    //   component: './Table',
    // },
  ],
  npmClient: 'pnpm',
});