Compare commits
18 Commits
841550dcb9
...
ad95ba7d1f
| Author | SHA1 | Date | |
|---|---|---|---|
| ad95ba7d1f | |||
| c63091b504 | |||
| 6931df4afd | |||
| 6f9c5732eb | |||
| cf07f6b60d | |||
| e26cd700b9 | |||
| 56bc6f2bbb | |||
| 3c3ce30b48 | |||
| 50cf9d3e9b | |||
| 1d424984e0 | |||
| a8e91dc384 | |||
| 27c46cb803 | |||
| 80397ec7ca | |||
| 19eeb7ba9a | |||
| cf5b974ae1 | |||
| b0d82d4ff7 | |||
| 54003bc466 | |||
| b764ff7ea3 |
@@ -10,11 +10,13 @@ const routes = [
|
|||||||
path: '/manage',
|
path: '/manage',
|
||||||
name: 'RecipeManager',
|
name: 'RecipeManager',
|
||||||
component: () => import('../views/RecipeManager.vue'),
|
component: () => import('../views/RecipeManager.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/inventory',
|
path: '/inventory',
|
||||||
name: 'Inventory',
|
name: 'Inventory',
|
||||||
component: () => import('../views/Inventory.vue'),
|
component: () => import('../views/Inventory.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/oils',
|
path: '/oils',
|
||||||
@@ -25,26 +27,31 @@ const routes = [
|
|||||||
path: '/projects',
|
path: '/projects',
|
||||||
name: 'Projects',
|
name: 'Projects',
|
||||||
component: () => import('../views/Projects.vue'),
|
component: () => import('../views/Projects.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/mydiary',
|
path: '/mydiary',
|
||||||
name: 'MyDiary',
|
name: 'MyDiary',
|
||||||
component: () => import('../views/MyDiary.vue'),
|
component: () => import('../views/MyDiary.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/audit',
|
path: '/audit',
|
||||||
name: 'AuditLog',
|
name: 'AuditLog',
|
||||||
component: () => import('../views/AuditLog.vue'),
|
component: () => import('../views/AuditLog.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/bugs',
|
path: '/bugs',
|
||||||
name: 'BugTracker',
|
name: 'BugTracker',
|
||||||
component: () => import('../views/BugTracker.vue'),
|
component: () => import('../views/BugTracker.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/users',
|
path: '/users',
|
||||||
name: 'UserManagement',
|
name: 'UserManagement',
|
||||||
component: () => import('../views/UserManagement.vue'),
|
component: () => import('../views/UserManagement.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user