feat(v2): live sidebar counts, /dashboard = V2 default route, remove V1 dead code
This commit is contained in:
@@ -9,7 +9,6 @@ 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'
|
||||
import NexusLayout from './layouts/NexusLayout.vue'
|
||||
import FlowBoard from './views/Dashboard/FlowBoard.vue'
|
||||
|
||||
@@ -17,15 +16,12 @@ const routes = [
|
||||
{ path: '/login', name: 'Login', component: LoginView, meta: { public: true } },
|
||||
{ path: '/', redirect: '/dashboard' },
|
||||
|
||||
// V1 Dashboard (altes Layout – bleibt erhalten)
|
||||
{ path: '/dashboard', name: 'Dashboard', component: DashboardView },
|
||||
|
||||
// V2 Dashboard (neues NexusLayout)
|
||||
// V2 Dashboard (neues NexusLayout + FlowBoard)
|
||||
{
|
||||
path: '/dashboard/v2',
|
||||
path: '/dashboard',
|
||||
component: NexusLayout,
|
||||
children: [
|
||||
{ path: '', name: 'DashboardV2', component: FlowBoard },
|
||||
{ path: '', name: 'Dashboard', component: FlowBoard },
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user