12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * @Author: your name
- * @Date: 2021-11-09 11:20:18
- * @LastEditTime: 2022-01-06 11:20:55
- * @LastEditors: Please set LastEditors
- * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- * @FilePath: /KC-MiddlePlatform/.umirc.ts
- */
- import { defineConfig } from 'umi';
- export default defineConfig({
- nodeModulesTransform: {
- type: 'none',
- },
- dva: {
- immer: true,
- hmr: false,
- },
- theme: {},
- routes: [
- {
- path: '/',
- component: '@/pages/index/index',
- },
- { path: '/login', component: '@/pages/login/index' },
- ],
- proxy: {
- // '/api': {
- // 'target': 'http://112.124.59.133:8083/',
- // 'changeOrigin': true,
- // 'pathRewrite': { '^/api' : '' },
- // },
- },
- fastRefresh: {},
- mfsu: {},
- // qiankun: {
- // master: {
- // sandbox: {
- // experimentalStyleIsolation: true, // 严格沙箱
- // },
- // },
- // },
- });
|