Implement account-view
This commit is contained in:
@ -3,13 +3,15 @@ import BudgetSidebar from '../pages/BudgetSidebar.vue';
|
||||
import Dashboard from '../pages/Dashboard.vue';
|
||||
import Login from '../pages/Login.vue';
|
||||
import Register from '../pages/Register.vue';
|
||||
import Account from '../pages/Account.vue';
|
||||
|
||||
const routes = [
|
||||
{ path: '/', name: 'Index', component: Dashboard },
|
||||
{ path: '/dashboard', name: 'Dashboard', component: Dashboard },
|
||||
{ path: '/login', name: 'Login', component: Login },
|
||||
{ path: '/register', name: 'Register', component: Register },
|
||||
{ path: '/budget/:budgetid', name: 'Budget', components: {default: Dashboard, sidebar: BudgetSidebar}, props: true },
|
||||
{ path: '/budget/:budgetid', name: 'Budget', components: { default: Dashboard, sidebar: BudgetSidebar }, props: true },
|
||||
{ path: '/budget/:budgetid/account/:accountid', name: 'Account', components: { default: Account, sidebar: BudgetSidebar }, props: true },
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
|
Reference in New Issue
Block a user