Continue frontend building

This commit is contained in:
2025-07-13 12:03:43 +02:00
parent 6faed0dbd4
commit 746f809d28
44 changed files with 2057 additions and 632 deletions

View File

@ -1,8 +1,21 @@
<template>
<sl-alert
v-for="alert in alerts.alerts"
:key="alert.id"
:variant="alert.type"
open
closable
:duration="['warning', 'error'].includes(alert.type) ? Infinity : 3000"
@sl-after-hide="alerts.removeAlert(alert.id)"
>{{ alert.message }}</sl-alert
>
<RouterView />
</template>
<script setup lang="ts">
import { useAuthTokenStore } from '@/store/auth'
import { useAlertsStore } from '@/store/useAlertsStore'
import { RouterView } from 'vue-router'
const alerts = useAlertsStore()
</script>