mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
69 lines
1.6 KiB
JavaScript
Executable File
69 lines
1.6 KiB
JavaScript
Executable File
import DashboardLayout from '@/views/Layout/DashboardLayout_gdd.vue'
|
|
import AuthLayoutGDD from '@/views/Layout/AuthLayout_gdd.vue'
|
|
|
|
import NotFound from '@/views/NotFoundPage.vue'
|
|
|
|
const routes = [
|
|
{
|
|
path: '/login',
|
|
redirect: 'login',
|
|
component: AuthLayoutGDD,
|
|
children: [
|
|
{
|
|
path: '/login',
|
|
component: () => import('../views/Pages/Login.vue'),
|
|
},
|
|
{
|
|
path: '/thx',
|
|
component: () => import('../views/Pages/thx.vue'),
|
|
},
|
|
{
|
|
path: '/register',
|
|
component: () => import('../views/Pages/Register.vue'),
|
|
},
|
|
{
|
|
path: '/password',
|
|
component: () => import('../views/Pages/Password.vue'),
|
|
},
|
|
{
|
|
path: '/explorer',
|
|
name: 'Explorer',
|
|
component: () => import('../views/Pages/Explorer.vue'),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/overview',
|
|
redirect: 'overview',
|
|
component: DashboardLayout,
|
|
children: [
|
|
{
|
|
path: '/overview',
|
|
component: () => import('../views/KontoOverview.vue'),
|
|
meta: {
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: '/profile',
|
|
component: () => import('../views/Pages/UserProfileCard.vue'),
|
|
},
|
|
{
|
|
path: '/profileedit',
|
|
component: () => import('../views/Pages/UserProfileEdit.vue'),
|
|
},
|
|
{
|
|
path: '/activity',
|
|
component: () => import('../views/Pages/UserProfileActivity.vue'),
|
|
},
|
|
{
|
|
path: '/transactions',
|
|
component: () => import('../views/Pages/UserProfileTransactionList.vue'),
|
|
},
|
|
],
|
|
},
|
|
{ path: '*', component: NotFound },
|
|
]
|
|
|
|
export default routes
|