1 Star 0 Fork 1

于旭杰/osharp-vben-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 933 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zion.lin 提交于 2023-12-07 11:57 . init
import { defineApplicationConfig } from '@vben/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: {
'/api': {
target: 'https://edu.carebobo.com/api',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/api`), ''),
// only https
// secure: false
},
'/UploadFiles': {
target: 'https://edu.carebobo.com/UploadFiles',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/UploadFiles`), ''),
},
},
},
},
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/kuerhero/osharp-vben-admin.git
git@gitee.com:kuerhero/osharp-vben-admin.git
kuerhero
osharp-vben-admin
osharp-vben-admin
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385