1 Star 0 Fork 0

haiyou_project/multi-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 868 Bytes
一键复制 编辑 原始数据 按行查看 历史
gowu 提交于 2024-06-24 23:42 . first commit
import { defineApplicationConfig } from '@xueyi/vite-config';
export default defineApplicationConfig({
overrides: {
optimizeDeps: {
include: [
'echarts/core',
'echarts/charts',
'echarts/components',
'echarts/renderers',
'qrcode',
'@iconify/iconify',
'ant-design-vue/es/locale/zh_CN',
'ant-design-vue/es/locale/en_US',
],
},
server: {
proxy: {
'/dev-api': {
target: 'http://192.168.1.7:8070',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/dev-api`), ''),
// only https
// secure: false
},
},
// 项目启动后,自动打开
open: true,
warmup: {
clientFiles: ['./index.html', './src/{views,components}/*'],
},
},
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/haiyou_project/multi-ui.git
git@gitee.com:haiyou_project/multi-ui.git
haiyou_project
multi-ui
multi-ui
master

搜索帮助