accounting/frontend/router.js
2024-01-16 17:30:17 +01:00

15 lines
379 B
JavaScript

import { createRouter, createWebHistory } from 'vue-router'
import budgetDashboard from './components/budgetDashboard.vue'
const routes = [
{ component: budgetDashboard, name: 'budget', path: '/' },
{ component: null, name: 'account-transactions', path: '/accounts/:id' },
]
const router = createRouter({
history: createWebHistory(),
routes,
})
export default router