Add page for all accounts
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user