feat: 初始化财务系统基础架构
新增财务系统基础架构,包括: - 核心API接口(用户、菜单、权限) - 状态管理模块(系统字典) - 路由配置(仪表盘、系统管理) - 基础页面布局(登录、个人中心、错误页) - 国际化配置 - 环境变量配置 - 组件库集成(表格、表单、图表) - 构建工具配置(vite、tailwind) - 权限控制模块
This commit is contained in:
20
apps/finance/vite.config.mts
Normal file
20
apps/finance/vite.config.mts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig(async () => {
|
||||
return {
|
||||
application: {},
|
||||
vite: {
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
// mock代理目标地址
|
||||
target: 'http://localhost:5320/api',
|
||||
ws: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user