1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-23 19:18:03 +09:00
elk/pages/status/[status].vue

16 lines
291 B
Vue
Raw Normal View History

2022-11-14 01:05:32 +09:00
<script setup lang="ts">
definePageMeta({
name: 'status-by-id',
middleware: async (to) => {
const params = to.params
const id = params.status as string
const status = await fetchStatus(id)
return getStatusRoute(status)
},
})
2022-11-14 01:05:32 +09:00
</script>
<template>
<div />
2022-11-14 01:05:32 +09:00
</template>