feat: 在 typed-router.d.ts 中添加 '$Path' 路由记录信息

This commit is contained in:
严浩 committed 2024-11-26 12:39:37 +08:00
1 parent fea7e3d20e
commit 7e06011c05
3 files changed
+10 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<template>
<main class="flex flex-col items-center justify-center h-full">
<h1>Not Found</h1>
<p>{{ path }} does not exist.</p>
</main>
</template>
<script lang="ts" setup>
defineProps<{ path: string }>();
</script>
<route>
{
"props": true
}
</route>