💄 Optimization

This commit is contained in:
2024-08-11 22:26:29 +08:00
parent b5f5d2d22f
commit 3629cf7c63
5 changed files with 18 additions and 2 deletions

View File

@ -14,6 +14,10 @@
</template>
<script setup lang="ts">
useHead({
title: 'Activity',
})
const config = useRuntimeConfig()
const items = ref<any[]>([])

View File

@ -44,6 +44,10 @@
</template>
<script setup lang="ts">
useHead({
title: 'Gallery',
})
const config = useRuntimeConfig()
const items = ref<any[]>([])

View File

@ -28,6 +28,10 @@
</template>
<script setup lang="ts">
useHead({
title: 'Products',
})
const { data: products } = await useAsyncData("products", () => queryContent("/products").find())
</script>

View File

@ -31,6 +31,10 @@
</template>
<script setup lang="ts">
definePageMeta({
alias: ["/@:name(.*)*"]
})
const route = useRoute()
const config = useRuntimeConfig()