admin-vue3/src/router/modules/flowrouter.ts

74 lines
1.7 KiB
TypeScript

export default [
{
path: '/flow',
name: 'Flow',
component: () => import('@/views/flow/Home.vue'),
children: [
{ path: '', redirect: '/flow/default' },
{
path: 'default',
name: 'default',
component: () => import('@/views/flow/HomeDefault.vue')
},
{
path: 'pricing',
name: 'pricing',
component: () => import('@/views/flow/Pricing.vue')
},
{
path: 'contact',
name: 'contact',
component: () => import('@/views/flow/Contact.vue')
},
{
path: 'features',
name: 'features',
component: () => import('@/views/flow/Features.vue')
}
]
},
{
path: '/files',
name: 'files',
component: () => import('@/views/flow/FileManager.vue'),
children: [
{ path: '', redirect: '/files/my-files' },
{
path: 'my-files',
name: 'my-files',
component: () => import('@/views/flow/files/MyFiles.vue')
},
{
path: 'recommended',
name: 'recommended',
component: () => import('@/views/flow/files/Recommended.vue')
},
{
path: 'recent',
name: 'recent',
component: () => import('@/views/flow/files/Recent.vue')
}
]
},
{
path: '/flow/Register',
name: 'Register',
component: () => import('@/views/flow/Register.vue')
},
{
path: '/flow-editor',
name: 'FlowEditor',
component: () => import('@/components/wu-flow-lib/components/FlowEditor.vue')
},
{
path: '/register',
name: 'Register',
component: () => import('@/views/flow/Register.vue')
},
{
path: '/login2',
name: 'Login2',
component: () => import('@/views/flow/Login.vue')
}
]