Chamilo is a learning management system focused on ease of use and accessibility
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.
chamilo-lms/assets/vue/router/page.js

37 lines
848 B

4 years ago
export default {
10 months ago
path: "/resources/pages",
4 years ago
meta: { requiresAuth: true },
10 months ago
name: "pages",
component: () => import("../components/page/Layout.vue"),
redirect: { name: "PageList" },
4 years ago
children: [
{
10 months ago
name: "PageList",
path: "",
component: () => import("../views/page/List.vue"),
4 years ago
},
{
10 months ago
name: "PageCreate",
path: "new",
component: () => import("../views/page/Create.vue"),
4 years ago
},
{
10 months ago
name: "PageUpdate",
4 years ago
//path: ':id/edit',
10 months ago
path: "edit",
component: () => import("../views/page/Update.vue"),
4 years ago
},
{
10 months ago
name: "PageShow",
4 years ago
//path: ':id',
10 months ago
path: "show",
component: () => import("../views/page/Show.vue"),
},
{
10 months ago
name: "PageEditorDemo",
path: "editor-demo",
component: () => import("../views/page/EditorDemo.vue"),
},
10 months ago
],
}