forked from wangziqi/gongxue-base
- 后端: NestJS 11 + TypeORM + JWT认证 + SQLite/MySQL - 前端: React 19 + Ant Design 6 + Vite 8 + ECharts - 功能模块: 数据面板、学生管理、宿舍管理、入住管理、费用录入、账单管理、教室管理、押金管理、操作日志、账号管理 - 支持Docker一键部署
22 lines
518 B
TypeScript
22 lines
518 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
optimizeDeps: {
|
|
include: [
|
|
'dayjs',
|
|
'dayjs/locale/zh-cn',
|
|
'dayjs/plugin/customParseFormat',
|
|
'dayjs/plugin/advancedFormat',
|
|
'dayjs/plugin/weekday',
|
|
'dayjs/plugin/localeData',
|
|
'dayjs/plugin/weekOfYear',
|
|
'dayjs/plugin/weekYear',
|
|
'dayjs/plugin/updateLocale',
|
|
'antd/es/locale/zh_CN',
|
|
],
|
|
},
|
|
})
|