1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-16 07:37:59 +09:00
elk/pages/status/[status].vue

20 lines
342 B
Vue
Raw Normal View History

2022-11-14 01:05:32 +09:00
<script setup lang="ts">
definePageMeta({
middleware: async (to) => {
const params = to.params
const id = params.status as string
const status = await fetchStatus(id)
return {
path: getStatusPath(status),
state: {
2022-11-27 17:54:00 +09:00
status: status as any,
},
}
},
})
2022-11-14 01:05:32 +09:00
</script>
<template>
<div />
2022-11-14 01:05:32 +09:00
</template>