manifest/nuxt/pages/index.vue

21 lines
456 B
Vue
Raw Normal View History

<script setup="setup">
2024-04-01 19:59:09 +02:00
const store = useStraniStore()
2024-04-01 19:59:09 +02:00
const nastavitveStore = useNastavitveStore()
const { izbraniJezik } = storeToRefs(nastavitveStore)
const stran = computed(() => store.strani['YuFu'])
2024-01-06 17:53:50 +01:00
useHead({meta: [{title: "jugofuturizem"}]})
await store.naloziStrani(izbraniJezik.value)
2024-04-01 19:59:09 +02:00
watch(izbraniJezik, jezik => {
store.naloziStrani(jezik)
})
</script>
<template>
2024-04-01 19:59:09 +02:00
<section v-if="stran" class="stran" v-html="stran.tekst" />
</template>