<script setup lang="ts">
import { watch } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute()
watch(() => route.params, () => {
  console.log(route.params)
}, { deep: true })
</script>
<template>
  <Suspense>
    <Load />
  </Suspense>
  <Suspense>
    <RouterView :key="route.fullPath" />
  </Suspense>
  <Suspense>
    <Nav />
  </Suspense>
</template>