Logo
Explore Help
Sign In
eksadmin/IT_Tool
1
0
Fork 0
You've already forked IT_Tool
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
4c40e8871839e077c08d904e8db9b3619021d30e
IT_Tool/Frontend/vite.config.ts

30 lines
556 B
TypeScript
Raw Normal View History

feat: implement Phase 2 (Go Agent) and Phase 3 (React Frontend MVP) Phase 2 - Go Agent Core: - gRPC client with exponential backoff reconnect logic - Command executor (PowerShell/sh cross-platform) - Proto stubs regenerated with module= option (correct output path) - gRPC upgraded to v1.79.3 (BidiStreamingClient support) Phase 3 - React Frontend MVP: - Vite + React 18 + TypeScript setup with Tailwind CSS v4 - TanStack Query for data fetching, API client + TypeScript types - Dashboard page: stats cards (agents/status/tickets) + sortable agents table - Agent detail page: CPU/RAM charts (Recharts), disk usage, shell command executor - Tickets page: CRUD with modals, filters, sortable table - Dark mode with CSS custom properties Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 12:42:52 +01:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from 'path'
export default defineConfig({
plugins: [
react(),
tailwindcss(),
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
proxy: {
'/api': {
target: 'http://localhost:5000',
changeOrigin: true,
},
'/hubs': {
target: 'http://localhost:5000',
changeOrigin: true,
ws: true,
},
},
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 8ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API