feat: repositorios, servicios, UI completa con rutas, Capacitor Android sync

This commit is contained in:
mono
2026-10-24 21:11:50 -05:00
parent 0c7cf651ce
commit df3838c2f3
36 changed files with 4224 additions and 402 deletions

View File

@@ -0,0 +1,32 @@
import { createRouter, createWebHistory } from 'vue-router';
import Layout from '../components/Layout.vue';
import Home from '../views/Home.vue';
import Inventario from '../views/Inventario.vue';
import Ventas from '../views/Ventas.vue';
import Gastos from '../views/Gastos.vue';
import Cuadre from '../views/Cuadre.vue';
import Reportes from '../views/Reportes.vue';
import Ajustes from '../views/Ajustes.vue';
import Exportar from '../views/Exportar.vue';
const router = createRouter({
history: createWebHistory(),
routes: [
{
path: '/',
component: Layout,
children: [
{ path: '', component: Home },
{ path: 'inventario', component: Inventario },
{ path: 'ventas', component: Ventas },
{ path: 'gastos', component: Gastos },
{ path: 'cuadre', component: Cuadre },
{ path: 'reportes', component: Reportes },
{ path: 'ajustes', component: Ajustes },
{ path: 'exportar', component: Exportar },
]
}
]
});
export default router;