mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
66 lines
1.5 KiB
JavaScript
Vendored
66 lines
1.5 KiB
JavaScript
Vendored
const routesFile = [
|
|
{
|
|
name: 'Platform',
|
|
path: '/platform',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/platform" */ '../views/Platform'),
|
|
children: [
|
|
{
|
|
name: 'Files',
|
|
path: '/platform/files/:id?',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/files" */ '../views/FileView/Files'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
{
|
|
name: 'RecentUploads',
|
|
path: '/platform/recent-uploads',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/recent-uploads" */ '../views/FileView/RecentUploads'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
{
|
|
name: 'MySharedItems',
|
|
path: '/platform/my-shared-items',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/my-shared-items" */ '../views/FileView/MySharedItems'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
{
|
|
name: 'Trash',
|
|
path: '/platform/trash/:id?',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/trash" */ '../views/FileView/Trash'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
{
|
|
name: 'TeamFolders',
|
|
path: '/platform/team-folders/:id?',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/team-folders" */ '../views/FileView/TeamFolders'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
{
|
|
name: 'SharedWithMe',
|
|
path: '/platform/shared-with-me/:id?',
|
|
component: () =>
|
|
import(/* webpackChunkName: "chunks/shared-with-me" */ '../views/FileView/Trash'),
|
|
meta: {
|
|
requiresAuth: true
|
|
},
|
|
},
|
|
]
|
|
}
|
|
]
|
|
|
|
export default routesFile |