Files
site11/console/frontend/vite.config.ts
jungwoo choi 4b2be7ccaf Step 4: Frontend Skeleton - React + Vite + Material-UI dashboard
- Created React application with TypeScript and Material-UI
- Implemented dashboard with service health monitoring
- Added Services and Users management pages
- Configured Nginx as reverse proxy to backend
- Successfully integrated frontend with Console backend

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 16:30:11 +09:00

17 lines
332 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0',
port: 3000,
proxy: {
'/api': {
target: 'http://console-backend:8000',
changeOrigin: true
}
}
}
})