Add page for all accounts

This commit is contained in:
2022-04-22 21:25:34 +00:00
committed by Gitea
parent 9fd70cd773
commit 75a1839456
5 changed files with 116 additions and 24 deletions

View File

@ -3,7 +3,8 @@ import {
createWebHistory,
RouteLocationNormalized,
} from "vue-router";
import Account from "@/pages/Account.vue";
import Account from "../pages/Account.vue";
import AllAccounts from "../pages/AllAccounts.vue";
import Budgeting from "../pages/Budgeting.vue";
import BudgetSidebar from "../pages/BudgetSidebar.vue";
import Dashboard from "../pages/Dashboard.vue";
@ -58,6 +59,13 @@ const routes = [
props: true,
meta: { requiresAuth: true },
},
{
path: "/budget/:budgetid/all-accounts",
name: "All Accounts",
components: { default: AllAccounts, sidebar: BudgetSidebar },
props: true,
meta: { requiresAuth: true },
},
{
path: "/budget/:budgetid/account/:accountid",
name: "Account",