refactor: move script over template

This commit is contained in:
Anthony Fu committed 2021-01-22 18:32:27 +08:00
1 parent 4c51428587
commit a975fd7c21
5 files changed
+52 -55

No files matched your search

+6 -6
View File
@@ -1,11 +1,11 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
</script>
<template>
<div>
{{ t('not-found') }}
</div>
</template>
<script setup lang='ts'>
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
</script>