feat(pages): add fallback redirect to /story/[id]
route
this will redirect to the first chapter, per default behaviour
This commit is contained in:
parent
410cb580d8
commit
4826bb7436
5
pages/story/[id]/index.vue
Normal file
5
pages/story/[id]/index.vue
Normal file
@ -0,0 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
const r = useRoute();
|
||||
await navigateTo(`${r.path}/1`);
|
||||
</script>
|
||||
<template></template>
|
Loading…
Reference in New Issue
Block a user