diff --git a/ui/src/router/index.js b/ui/src/router/index.js index dd1968f..315886d 100644 --- a/ui/src/router/index.js +++ b/ui/src/router/index.js @@ -2,7 +2,7 @@ import { createRouter, createMemoryHistory , createWebHashHistory} from 'vue-rou const routes = [ // Configuración - { path: '/', redirect: '/empleados' }, + { path: '/', name: 'home', component: () => import('@/views/HomeView.vue') }, { path: '/config', name: 'settings', component: () => import('@/views/SettingsView.vue') }, // ────── Empleados ────── diff --git a/ui/src/views/HomeView.vue b/ui/src/views/HomeView.vue new file mode 100644 index 0000000..b5994dd --- /dev/null +++ b/ui/src/views/HomeView.vue @@ -0,0 +1,83 @@ + + + + +