mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
31 lines
637 B
Vue
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>
|