You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
695 B
29 lines
695 B
export default {
|
|
path: "/resources/courses",
|
|
meta: { requiresAuth: true },
|
|
name: "courses",
|
|
component: () => import("../components/course/Layout.vue"),
|
|
redirect: { name: "CourseList" },
|
|
children: [
|
|
{
|
|
name: "CourseList",
|
|
path: "",
|
|
component: () => import("../views/course/List.vue"),
|
|
},
|
|
{
|
|
name: "CourseCreate",
|
|
path: "new",
|
|
component: () => import("../views/course/Create.vue"),
|
|
},
|
|
{
|
|
name: "CourseUpdate",
|
|
path: ":id/edit",
|
|
component: () => import("../views/course/Update.vue"),
|
|
},
|
|
{
|
|
name: "CourseShow",
|
|
path: ":id",
|
|
component: () => import("../views/course/Show.vue"),
|
|
},
|
|
],
|
|
}
|
|
|