- PanelShell layout: main content + stacked side panels (320px) - usePanels composable: role-based registry, localStorage persistence - Lazy-loaded panels: Graph (Cytoscape+Cola), Trace, Nodes, State - Fix HUD protocol: map assay node-level events to nyx tree format - Graph: edge filtering for missing nodes, Tailwind canvas opacity fix - Remove FramesPanel and TaskPanel (data merged into State panel) - Toolbar panel toggles with heroicon badges Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
597 B
TypeScript
30 lines
597 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
const buildId = Date.now().toString(36);
|
|
|
|
export default defineConfig({
|
|
define: {
|
|
__BUILD__: JSON.stringify(buildId),
|
|
},
|
|
plugins: [tailwindcss(), vue()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
proxy: {
|
|
'/ws': {
|
|
target: 'ws://localhost:8000',
|
|
ws: true,
|
|
changeOrigin: true,
|
|
},
|
|
'/api': {
|
|
target: 'http://localhost:8000',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
},
|
|
})
|