Fix more route props

This commit is contained in:
Ramon Wenger 2024-11-12 16:18:56 +01:00
parent 93660cf421
commit d6c182b5ab
1 changed files with 3 additions and 0 deletions

View File

@ -95,10 +95,12 @@ const router = createRouter({
{ {
path: "media", path: "media",
component: () => import("@/pages/mediaLibrary/MediaLibraryParentPage.vue"), component: () => import("@/pages/mediaLibrary/MediaLibraryParentPage.vue"),
props: true,
children: [ children: [
{ {
path: "", path: "",
component: () => import("@/pages/mediaLibrary/MediaLibraryIndexPage.vue"), component: () => import("@/pages/mediaLibrary/MediaLibraryIndexPage.vue"),
props: true,
}, },
{ {
path: ":categorySlug", path: ":categorySlug",
@ -158,6 +160,7 @@ const router = createRouter({
children: [ children: [
{ {
path: "", path: "",
props: true,
component: () => component: () =>
import("../pages/learningPath/learningPathPage/LearningPathPage.vue"), import("../pages/learningPath/learningPathPage/LearningPathPage.vue"),
}, },