VueRouter, Pinia state management, add pages, design preferences page

This commit is contained in:
2024-09-05 17:47:02 +02:00
parent 8b1a396f68
commit 4d1eec023d
20 changed files with 424 additions and 95 deletions

View File

@@ -0,0 +1,17 @@
<script setup lang="ts">
import BannerModel from '@/data/models/bannerModel';
const alertBanner = defineModel("alertBanner", { required: true, type: BannerModel })
</script>
<template>
<v-expand-transition>
<v-row v-if="alertBanner.show">
<v-col>
<v-alert v-model="alertBanner.show" :color="alertBanner.color" :icon="alertBanner.icon" closable>
{{ alertBanner.message }}
</v-alert>
</v-col>
</v-row>
</v-expand-transition>
</template>