26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import { createRouter, createWebHistory } from 'vue-router'
|
|
import DashboardView from '@/views/DashboardView.vue'
|
|
import LogSearchView from '@/views/LogSearchView.vue'
|
|
import DiagnoseView from '@/views/DiagnoseView.vue'
|
|
import SourcesView from '@/views/SourcesView.vue'
|
|
import IncidentsView from '@/views/IncidentsView.vue'
|
|
import BundlesView from '@/views/BundlesView.vue'
|
|
import SettingsView from '@/views/SettingsView.vue'
|
|
import ContextView from '@/views/ContextView.vue'
|
|
import BlocklistView from '@/views/BlocklistView.vue'
|
|
|
|
export default createRouter({
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
routes: [
|
|
{ path: '/', redirect: '/dashboard' },
|
|
{ path: '/dashboard', component: DashboardView },
|
|
{ path: '/search', component: LogSearchView },
|
|
{ path: '/diagnose', component: DiagnoseView },
|
|
{ path: '/incidents', component: IncidentsView },
|
|
{ path: '/bundles', component: BundlesView },
|
|
{ path: '/sources', component: SourcesView },
|
|
{ path: '/context', component: ContextView },
|
|
{ path: '/blocklist', component: BlocklistView },
|
|
{ path: '/settings', component: SettingsView },
|
|
],
|
|
})
|