Commit inicial - Sistema de Gestion Hotelera Hacienda San Angel
- Backend Node.js/Express con PostgreSQL - Frontend React 19 con Vite - Docker Compose para orquestacion - Documentacion completa en README.md - Scripts SQL para base de datos - Configuracion de ejemplo (.env.example)
This commit is contained in:
31
frontend/Frontend-Hotel/vite.config.js
Normal file
31
frontend/Frontend-Hotel/vite.config.js
Normal file
@@ -0,0 +1,31 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react({
|
||||
jsxRuntime: 'automatic',
|
||||
})
|
||||
],
|
||||
server: {
|
||||
host: true,
|
||||
port: 5172,
|
||||
allowedHosts: [
|
||||
'hacienda.consultoria-as.com'
|
||||
],
|
||||
hmr: {
|
||||
overlay: true,
|
||||
},
|
||||
// proxy:{
|
||||
// '/api':{
|
||||
// target: 'http://localhost:4000',
|
||||
// changeOrigin : true,
|
||||
// secure: false,
|
||||
// }
|
||||
// }
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['react', 'react-dom', 'react-router-dom'],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user