Sign in

zengzy / rps · Files

Logo

GitLab

  • Back to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • rps
  • frontend
  • app
  • error.vue
  • Initial commit
    5fa0f75a
    zengziyan authored
    2026-05-20 20:53:26 +0800  
    Browse Code ยป
error.vue 387 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<script setup lang="ts">
import type { NuxtError } from '#app'

defineProps<{
  error: NuxtError
}>()

const { locale, t } = useAppI18n()

useSeoMeta({
  title: () => t('app.error.title'),
  description: () => t('app.error.description')
})

useHead(() => ({
  htmlAttrs: {
    lang: locale.value
  }
}))
</script>

<template>
  <UApp>
    <UError :error="error" />
  </UApp>
</template>