Files
nexus/frontend/src/router.ts
T
developer 5244e9fd3d
CI - Build & Test / Backend (.NET) (push) Successful in 31s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 17s
CI - Build & Test / Security Check (push) Successful in 3s
feat: AI Team Network ins Dashboard integriert, Vollbreite, dynamisches Grid
- TeamNetwork ins Dashboard verschoben (center column)
- 3-Spalten-Layout auf volle Desktop-Breite (kein max-width)
- Agent-Grid dynamisch: 2 Spalten, erweitert nach unten (4→6→8 Agenten)
- SVG-Bézier-Linien mit ResizeObserver passen sich an
- 'Team' aus Navigation, Router und standaloneViews entfernt
- /team Route gelöscht
2026-06-09 21:49:10 +02:00

39 lines
1.9 KiB
TypeScript

import { createRouter, createWebHistory } from 'vue-router'
import LoginView from './views/LoginView.vue'
import ProjectDetailView from './views/ProjectDetailView.vue'
import SettingsView from './views/SettingsView.vue'
import MemoryView from './views/MemoryView.vue'
import DocsView from './views/DocsView.vue'
import AgentDetailView from './views/AgentDetailView.vue'
import AgentsIndexView from './views/AgentsIndexView.vue'
import SecurityView from './views/SecurityView.vue'
import IncidentsView from './views/IncidentsView.vue'
import CalendarView from './views/CalendarView.vue'
import DashboardView from './views/DashboardView.vue'
const routes = [
{ path: '/login', name: 'Login', component: LoginView, meta: { public: true } },
{ path: '/', redirect: '/dashboard' },
{ path: '/dashboard', name: 'Dashboard', component: DashboardView },
{ path: '/memory', name: 'Memory', component: MemoryView },
{ path: '/docs', name: 'Docs', component: DocsView },
{ path: '/agents/:id', name: 'AgentDetail', component: AgentDetailView },
{ path: '/security', name: 'Security', component: SecurityView },
{ path: '/incidents', name: 'Incidents', component: IncidentsView },
{ path: '/calendar', name: 'Calendar', component: CalendarView },
{ path: '/projects', name: 'Projects', component: { template: '' } },
{ path: '/projects/:id', name: 'ProjectDetail', component: ProjectDetailView },
{ path: '/tasks', name: 'Task Board', component: { template: '' } },
{ path: '/agents', name: 'Agents', component: AgentsIndexView },
{ path: '/models', name: 'Models', component: { template: '' } },
{ path: '/activity', name: 'Activity', component: { template: '' } },
{ path: '/chat', name: 'Mobile Chat', component: { template: '' } },
{ path: '/settings', name: 'Settings', component: SettingsView },
{ path: '/:pathMatch(.*)*', redirect: '/dashboard' },
]
export default createRouter({
history: createWebHistory(),
routes,
})