2018-11-08 01:09:33 +01:00
|
|
|
import { RouteConfig as VueRouteConfig } from 'vue-router'
|
2018-11-02 15:56:29 +01:00
|
|
|
|
2018-11-08 01:09:33 +01:00
|
|
|
import { RouteNames } from './route-names'
|
|
|
|
|
|
|
|
|
|
export const RouteConfig: VueRouteConfig[] = [
|
|
|
|
|
{
|
|
|
|
|
component: () => import('@/root/home/home.vue'),
|
|
|
|
|
name: RouteNames.home,
|
|
|
|
|
path: '/',
|
|
|
|
|
meta: { name: 'Home' }
|
|
|
|
|
},
|
2019-01-02 01:58:47 +01:00
|
|
|
{
|
|
|
|
|
path: '/signup',
|
|
|
|
|
component: () => import('@/views/login/signup/signup.vue'),
|
|
|
|
|
meta: { name: 'Registration' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/signin',
|
|
|
|
|
component: () => import('@/views/login/signin/signin.vue'),
|
|
|
|
|
meta: { name: 'Login' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/vreg',
|
|
|
|
|
component: () => import('@/views/login/vreg/vreg.vue'),
|
|
|
|
|
meta: { name: 'Verify Reg' }
|
2019-01-05 20:11:41 +01:00
|
|
|
},
|
2019-01-14 22:40:30 +01:00
|
|
|
{
|
2019-01-29 03:12:18 +01:00
|
|
|
path: '/todo/:category',
|
2019-01-14 22:40:30 +01:00
|
|
|
component: () => import('@/components/todos/todo/todo.vue'),
|
2019-01-30 01:05:31 +01:00
|
|
|
// props: { category: 'personal' },
|
|
|
|
|
meta: { name: 'Todos' }
|
2019-01-14 22:40:30 +01:00
|
|
|
},
|
2019-01-05 20:11:41 +01:00
|
|
|
{
|
|
|
|
|
path: '/category',
|
|
|
|
|
component: () => import('@/components/categories/category/category.vue'),
|
|
|
|
|
meta: { name: 'Categories' }
|
2019-02-12 12:06:01 +01:00
|
|
|
},
|
2019-02-22 10:23:00 +01:00
|
|
|
{
|
|
|
|
|
path: '/admin/cfgserv',
|
|
|
|
|
component: () => import('@/components/admin/cfgServer/cfgServer.vue'),
|
|
|
|
|
meta: { name: 'Categories' }
|
|
|
|
|
},
|
2019-02-27 02:58:41 +01:00
|
|
|
{
|
|
|
|
|
path: '/admin/testp1/:category',
|
|
|
|
|
component: () => import('@/components/admin/testp1/testp1.vue'),
|
|
|
|
|
meta: { name: 'Categories' }
|
|
|
|
|
},
|
2019-02-12 12:06:01 +01:00
|
|
|
{
|
|
|
|
|
path: '/offline',
|
|
|
|
|
component: () => import('@/components/offline/offline.vue'),
|
|
|
|
|
meta: { name: 'Offline' }
|
2019-01-02 01:58:47 +01:00
|
|
|
}
|
2018-11-05 22:28:59 +01:00
|
|
|
/*
|
2018-11-02 20:10:45 +01:00
|
|
|
{
|
|
|
|
|
path: '/requestresetpwd',
|
2018-11-02 20:30:53 +01:00
|
|
|
component: () => import('@/views/login/requestresetpwd.vue'),
|
2018-11-02 20:10:45 +01:00
|
|
|
meta: { name: 'Reset your Password' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/updatepwd',
|
2018-11-02 20:30:53 +01:00
|
|
|
component: () => import('@/views/login/updatepassword.vue'),
|
2018-11-02 20:10:45 +01:00
|
|
|
meta: { name: 'Update your Password' }
|
2019-01-01 03:22:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2018-11-02 20:10:45 +01:00
|
|
|
{
|
|
|
|
|
path: '/simpleform',
|
2018-11-02 20:30:53 +01:00
|
|
|
component: () => import('@/views/form/simpleForm/simpleForm.vue'),
|
2018-11-02 20:10:45 +01:00
|
|
|
meta: { name: 'SimpleForm' }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/embeeded',
|
2018-11-02 20:30:53 +01:00
|
|
|
component: () => import('@/views/form/embeeded/embeeded.vue'),
|
2018-11-02 20:10:45 +01:00
|
|
|
meta: { name: 'Embeeded' }
|
2018-11-02 22:15:48 +01:00
|
|
|
}*/
|
|
|
|
|
]
|
2018-11-02 15:56:29 +01:00
|
|
|
|