Files
cmms/vue/routes/index.vue
T
2026-09-10 13:53:20 +02:00

22 lines
358 B
Vue

<template>
<p>{{ t('app.world') }}</p>
<p v-for="value in j">
{{ value }}
</p>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import { useI18n } from 'vue-i18n'
const { t } = useI18n();
const j = ref([]);
onMounted(async () => {
const res = await fetch("/php/notifications.php")
j.value = await res.json();
});
</script>