authentication
This commit is contained in:
@@ -8,6 +8,9 @@ const router = createRouter({
|
||||
{
|
||||
path: '/',
|
||||
component: AppLayout,
|
||||
meta: {
|
||||
auth: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'scenario',
|
||||
@@ -25,6 +28,11 @@ const router = createRouter({
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/auth/login',
|
||||
name: 'login',
|
||||
component: () => import('@/views/pages/auth/Login.vue')
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user