<template>
    <div></div>
</template>

<script setup>
import { useRoute, useRouter } from "vue-router";

const route = useRoute();
const router = useRouter();
const { params: { path }, query } = route;

router.replace({ path: "/" + path, query });
</script>