iot-fontend/config/vite.config.dev.ts
Kven 4155f6c381 feat(hotel): 新增酒店管理功能
- 添加房间管理和游客管理模块
- 实现房间和游客的查询、创建、编辑和删除功能
- 优化查询条件和表格展示
- 新增退房功能
2025-06-19 21:49:45 +08:00

33 lines
708 B
TypeScript

import { mergeConfig } from 'vite';
import eslint from 'vite-plugin-eslint';
import * as path from 'path';
import baseConfig from './vite.config.base';
export default mergeConfig(
{
mode: 'development',
server: {
open: true,
fs: {
strict: true,
},
proxy: {
'/api': {
// target: 'http://8.134.75.234:8081',
target: 'http://192.168.3.119:8081',
// target: 'http://localhost:8081',
changeOrigin: true,
},
},
},
plugins: [
eslint({
cache: false,
include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
exclude: ['node_modules'],
}),
],
},
baseConfig
);