1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

чиним билд02

This commit is contained in:
MoonTestUse1
2025-01-02 01:41:45 +06:00
parent 6ff4ca1ab1
commit a5a742ce55
4 changed files with 147 additions and 79 deletions

View File

@@ -4,6 +4,22 @@ import { useAuthStore } from '@/stores/auth';
const router = createRouter({
history: createWebHistory(),
routes: [
{
path: '/',
component: () => import('@/layouts/MainLayout.vue'),
children: [
{
path: '',
name: 'Home',
component: () => import('@/views/HomeView.vue')
},
{
path: 'login',
name: 'Login',
component: () => import('@/views/LoginView.vue')
}
]
},
{
path: '/admin',
component: () => import('@/layouts/AdminLayout.vue'),