1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-25 20:17:59 +09:00
elk/pages/[[server]]/status/[status].vue
2022-12-04 19:56:33 +00:00

16 lines
291 B
Vue

<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)
},
})
</script>
<template>
<div />
</template>