404.vue 441 B

123456789101112131415161718192021
  1. <script setup lang="ts">
  2. const router = useRouter()
  3. const { t } = useI18n()
  4. useHead({
  5. title: () => t('not-found'),
  6. })
  7. </script>
  8. <template>
  9. <main p="x4 y10" text="center teal-700 dark:gray-200">
  10. <div text-4xl>
  11. <div i-carbon-warning inline-block />
  12. </div>
  13. <RouterView />
  14. <div>
  15. <button text-sm btn m="3 t8" @click="router.back()">
  16. {{ t('button.back') }}
  17. </button>
  18. </div>
  19. </main>
  20. </template>