Logo
Explore Help
Register Sign In
explewd/waste-go
1
0
Fork 0
You've already forked waste-go
Code Issues Pull Requests Actions Packages Projects Releases 5 Wiki Activity
Files
f319721e014f1c7e615b8f6cd8dfd035d3335c32
waste-go/web/vite.config.ts

15 lines
244 B
TypeScript
Raw Normal View History

feat: standalone web UI (React + Vite) React + TypeScript UI on port 5274. Connects to local daemon via WebSocket IPC (DaemonAdapter). Full chat layout with sidebar, message pane, and peer list. Mirrors the TUI feature set. - src/types.ts — IPC types mirroring proto.go - src/adapter/daemon — WebSocket IPC adapter with auto-reconnect - src/store/index.ts — Zustand store; handles all daemon events - src/pages/ — Onboarding (connect + join) and Chat - src/components/ — Sidebar, MessagePane, PeerList Dev: cd web && npm run dev (port 5274) Build: cd web && npm run build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 21:57:32 +02:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5274,
strictPort: true,
},
preview: {
port: 5275,
strictPort: true,
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 32ms 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