template editor

This commit is contained in:
Julian Krauser 2024-12-21 16:01:18 +01:00
parent 0e430d1c9d
commit 467dfd8c1b
7 changed files with 208 additions and 2 deletions

View file

@ -403,6 +403,28 @@ const router = createRouter({
meta: { type: "read", section: "settings", module: "query_store" },
beforeEnter: [abilityAndNavUpdate],
},
{
path: "template",
name: "admin-settings-template-route",
component: () => import("@/views/RouterView.vue"),
// meta: { type: "read", section: "settings", module: "template" },
beforeEnter: [abilityAndNavUpdate],
children: [
{
path: "",
name: "admin-settings-template",
component: () => import("@/views/admin/settings/template/Template.vue"),
},
{
path: ":id/edit",
name: "admin-settings-template-edit",
component: () => import("@/views/admin/settings/template/Template.vue"),
// meta: { type: "update", section: "settings", module: "template" },
// beforeEnter: [abilityAndNavUpdate],
props: true,
},
],
},
],
},
{