添加ssg标题

This commit is contained in:
李志鹏
2026-06-02 15:08:17 +08:00
parent 2e35fd4de9
commit 10d593e23f
8 changed files with 54 additions and 1 deletions

View File

@@ -94,6 +94,9 @@
</div>
</template>
<script setup lang="ts">
import { useHead } from '@unhead/vue'
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
import { ref } from 'vue'
import EmailBox from '@/components/email-box.vue'
import MyEvent from '@/tools/myEvents'
@@ -114,6 +117,15 @@
const submit = (email: string) => {
console.log(email)
}
useHead({
title: 'Mixi - Code-Create',
meta: [
{
name: 'description',
content: `${t('Mixi.IntroduceDesc')} ${t('Mixi.IntroduceDesc')}`
}
]
})
</script>
<style scoped lang="less">