version update to nuxt4

This commit is contained in:
Julian Krauser 2025-07-23 13:46:18 +02:00
parent 7f1770d442
commit ef84942e38
41 changed files with 5134 additions and 4946 deletions

View file

@ -0,0 +1,24 @@
<template>
<div class="flex flex-col gap-2 w-full min-h-fit max-w-4xl mx-auto">
<a
:href="baseUrl + data?.file.url"
:download="data?.file.name"
target="_blank"
class="w-fit text-primary underline"
>
Datei {{ data?.file.name }} herunterladen
</a>
</div>
</template>
<script setup lang="ts">
import type { PropType } from "vue";
import type DynamicZoneFileDownload from "~~/types/component/dynamic-zone/fileDownload";
const runtimeConfig = useRuntimeConfig();
const baseUrl = runtimeConfig.public.strapi.url;
defineProps({
data: Object as PropType<DynamicZoneFileDownload>,
});
</script>