Basic auth working

This commit is contained in:
2023-11-06 22:55:15 -05:00
parent edde4e79fd
commit 4a43b5813d
9 changed files with 138 additions and 99 deletions

View File

@@ -4,12 +4,24 @@ const routes: RouteRecordRaw[] = [
{
path: '/',
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/IndexPage.vue') }],
name: 'index',
children: [
{
path: '',
component: () => import('pages/IndexPage.vue'),
},
],
},
{
path: '/Login',
path: '/login',
component: () => import('pages/LoginPage.vue'),
name: 'login',
},
// {
// path: '/register',
// component: () => import('pages/RegisterPage.vue'),
// name: 'register'
// },
// Always leave this as last one,
// but you can also remove it
{