From d6c182b5ab012e6de608b8b5fcc0dd37949a87cb Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Tue, 12 Nov 2024 16:18:56 +0100 Subject: [PATCH] Fix more route props --- client/src/router/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/router/index.ts b/client/src/router/index.ts index c5f286a7..22235cfc 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -95,10 +95,12 @@ const router = createRouter({ { path: "media", component: () => import("@/pages/mediaLibrary/MediaLibraryParentPage.vue"), + props: true, children: [ { path: "", component: () => import("@/pages/mediaLibrary/MediaLibraryIndexPage.vue"), + props: true, }, { path: ":categorySlug", @@ -158,6 +160,7 @@ const router = createRouter({ children: [ { path: "", + props: true, component: () => import("../pages/learningPath/learningPathPage/LearningPathPage.vue"), },