navigation on collections and dynamic routing improvements

This commit is contained in:
Julian Krauser 2024-11-03 11:21:44 +01:00
parent 5c56af0dad
commit 44b55d9bbb
11 changed files with 117 additions and 48 deletions

View file

@ -0,0 +1,18 @@
<template>
<div class="min-h-[calc(100vh-9rem)] container mx-auto py-12">
{{ data }}
</div>
</template>
<script setup lang="ts">
import type { PropType } from "vue";
import type SharedHero from "../types/component/sharedHero";
import type { ComponentTypes } from "../types/component/baseComponent";
import type Article from "../types/collection/article";
import type Operation from "../types/collection/operation";
import type Event from "../types/collection/event";
defineProps({
data: Object as PropType<Article | Operation | Event>,
});
</script>