cloudMenu/config/config.ts
2025-08-20 09:34:05 +08:00

24 lines
546 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// import { defineConfig } from "umi";
import proxy from './proxy';
import router from './router'
//不使用defineConfig则能在其他地方获取这些配置
export default {
plugins: [
'@umijs/plugins/dist/dva'
],
proxy,
dva: {},
base: '/cloudMenu/',
publicPath: '/cloudMenu/',
outputPath: 'dist', // 打包输出目录默认是dist
title: '驿商云平台',
favicons: [
'/favicon.ico'
],
routes: router,
history: {
type: 'browser' // 使用browser history模式配合IIS的URL重写规则
}
};