1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00
stardew_community_checklist/src/views/BundlesView.vue
2023-06-03 16:35:45 +10:00

31 lines
637 B
Vue

<script setup lang="ts">
import BundleNav from '@/components/bundles/BundleNav.vue'
import router from '@/router'
import { useGeneralStore } from '@/store'
import { RouterView } from 'vue-router'
const store = useGeneralStore()
const bundle = store.getBundleById(Number(router.currentRoute.value.params.id))
</script>
<template>
<div>
<BundleNav />
<section class="section">
<RouterView :key="bundle?.id"></RouterView>
</section>
</div>
</template>
<style lang="scss" scoped>
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s ease;
}
.fade-enter,
.fade-leave-active {
opacity: 0;
}
</style>