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"), },