base structure

This commit is contained in:
Julian Krauser 2024-11-16 12:19:13 +01:00
parent 967d815784
commit d6f28022f0
7 changed files with 99 additions and 26 deletions

View file

@ -450,6 +450,26 @@ const router = createRouter({
},
],
},
{
path: "/account",
name: "account",
component: () => import("@/views/account/View.vue"),
beforeEnter: [isAuthenticated],
children: [
{
path: "",
name: "account-default",
component: () => import("@/views/admin/ViewSelect.vue"),
meta: { type: "read", section: "club" },
beforeEnter: [abilityAndNavUpdate],
},
{
path: ":pathMatch(.*)*",
name: "account-404",
component: () => import("@/views/notFound.vue"),
},
],
},
{
path: "/nopermissions",
name: "nopermissions",