accounting/frontend/router.js

16 lines
379 B
JavaScript
Raw Normal View History

2024-01-16 15:13:04 +00:00
import { createRouter, createWebHistory } from 'vue-router'
2024-01-16 16:30:17 +00:00
import budgetDashboard from './components/budgetDashboard.vue'
2024-01-16 15:13:04 +00:00
const routes = [
2024-01-16 16:30:17 +00:00
{ component: budgetDashboard, name: 'budget', path: '/' },
2024-01-16 15:13:04 +00:00
{ component: null, name: 'account-transactions', path: '/accounts/:id' },
]
const router = createRouter({
history: createWebHistory(),
routes,
})
export default router