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.
31 lines
710 B
31 lines
710 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')
|
|
}
|
|
]
|
|
};
|
|
|