42 lines
1.4 KiB
JavaScript
42 lines
1.4 KiB
JavaScript
/*
|
|
|--------------------------------------------------------------------------
|
|
| Agência PSI
|
|
|--------------------------------------------------------------------------
|
|
| Criado e desenvolvido por Leonardo Nohama
|
|
|
|
|
| Tecnologia aplicada à escuta.
|
|
| Estrutura para o cuidado.
|
|
|
|
|
| Arquivo: src/router/routes.features.js
|
|
| Data: 2026
|
|
| Local: São Carlos/SP — Brasil
|
|
|--------------------------------------------------------------------------
|
|
| © 2026 — Todos os direitos reservados
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
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')
|
|
}
|
|
]
|
|
};
|