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

36 lines
848 B

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