Ajuste em Massa - Paciente, Terapeuta, Clinica e Admin - Inicio agenda

This commit is contained in:
Leonardo
2026-02-22 17:56:01 -03:00
parent 6eff67bf22
commit 89b4ecaba1
77 changed files with 9433 additions and 1995 deletions
+26
View File
@@ -0,0 +1,26 @@
// src/router/routes.features.js
import AppLayout from '@/layout/AppLayout.vue'
export default {
path: '/features',
component: AppLayout,
meta: { requiresAuth: true }, // roles: se você quiser travar aqui também
children: [
// Patients
{
path: 'patients',
name: 'features.patients.list',
component: () => import('@/features/patients/PatientsListPage.vue') // ajuste se seu arquivo tiver outro nome
},
{
path: 'patients/cadastro',
name: 'features.patients.create',
component: () => import('@/features/patients/cadastro/PatientsCadastroPage.vue')
},
{
path: 'patients/cadastro/:id',
name: 'features.patients.edit',
component: () => import('@/features/patients/cadastro/PatientsCadastroPage.vue')
}
]
}