navigation on collections and dynamic routing improvements
This commit is contained in:
parent
5c56af0dad
commit
44b55d9bbb
11 changed files with 117 additions and 48 deletions
18
components/CollectionDetail.vue
Normal file
18
components/CollectionDetail.vue
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue