Add page for all accounts

This commit is contained in:
jacob1123 authored and Gitea committed 2022-04-23 13:32:39 +02:00
1 parent 9fd70cd773
commit 75a1839456
5 files changed
+116 -24

No files matched your search

+9 -1
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",