Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

270 B
Raw Blame
<script setup lang="ts">
  definePageMeta({
    middleware: ["auth"],
  });

  const route = useRoute();
  const assetId = computed<string>(() => route.params.id as string);
  await navigateTo("/assets/" + assetId.value, { replace: true, redirectCode: 301 });
</script>