2026-10-28 16:57:44 +00:00
|
|
|
<script setup lang="ts">
|
2026-10-28 23:38:54 +00:00
|
|
|
// The village bar and its tabs live in the game layout; this only waits for the
|
|
|
|
|
// village before its screens render.
|
|
|
|
|
definePageMeta({ layout: 'game' })
|
|
|
|
|
const v = useVillageContext()
|
2026-10-28 16:57:44 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2026-10-28 23:38:54 +00:00
|
|
|
<NuxtPage v-if="v.village.value && v.resources.value" />
|
|
|
|
|
<p v-else-if="!v.error.value" class="px-4 py-16 text-center text-sm text-ink-500">{{ $t('common.loading') }}</p>
|
2026-10-28 16:57:44 +00:00
|
|
|
</template>
|