chore(frontend): clean remaining templates and configs

This commit is contained in:
Matthieu
2025-09-19 08:19:45 +02:00
parent 32dd8fab58
commit b0c3b2b646
7 changed files with 274 additions and 627 deletions

View File

@@ -6,9 +6,7 @@
<p class="text-sm text-gray-500">Gérez les constructeurs et leurs coordonnées.</p>
</div>
<button class="btn btn-primary" @click="openCreateModal">
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v12m6-6H6" />
</svg>
<IconLucidePlus class="w-4 h-4 mr-2" aria-hidden="true" />
Nouveau constructeur
</button>
</div>
@@ -108,6 +106,7 @@
import { ref, computed } from 'vue'
import { useConstructeurs } from '~/composables/useConstructeurs'
import { useToast } from '~/composables/useToast'
import IconLucidePlus from '~icons/lucide/plus'
const { constructeurs, loading, searchConstructeurs, createConstructeur, updateConstructeur, deleteConstructeur, loadConstructeurs } = useConstructeurs()
const { showError, showSuccess } = useToast()