Working on UI
This commit is contained in:
+2
-14
@@ -1,22 +1,10 @@
|
||||
<template>
|
||||
<p>{{ t('app.world') }}</p>
|
||||
<p v-for="value in j">
|
||||
{{ value }}
|
||||
</p>
|
||||
<h1 class="title">{{ t('menu.dashboard') }}</h1>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
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>
|
||||
Reference in New Issue
Block a user