feat: 初始化财务系统基础架构

新增财务系统基础架构,包括:
- 核心API接口(用户、菜单、权限)
- 状态管理模块(系统字典)
- 路由配置(仪表盘、系统管理)
- 基础页面布局(登录、个人中心、错误页)
- 国际化配置
- 环境变量配置
- 组件库集成(表格、表单、图表)
- 构建工具配置(vite、tailwind)
- 权限控制模块
This commit is contained in:
2026-01-06 18:01:42 +08:00
parent 397706bf2d
commit 4163a322d7
69 changed files with 3519 additions and 0 deletions

View 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,
},
},
},
},
};
});