authentication

This commit is contained in:
paola.trabucco
2024-08-07 14:53:43 +02:00
parent ae95f2b4cc
commit e20f7521bb
7 changed files with 134 additions and 24 deletions

View File

@@ -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')
}
]
});