first pages

This commit is contained in:
Frank Agerholm 2026-01-25 10:58:20 +01:00
commit cf983ce274
No known key found for this signature in database
3 changed files with 41 additions and 0 deletions

19
frontend/pages/owners.vue Normal file
View file

@ -0,0 +1,19 @@
<script setup lang="ts">
const config = useRuntimeConfig()
const owners = await $fetch("/owners", {
baseURL: config.public.apiBase
})
</script>
<template>
<div class="p-6">
<h1 class="text-2xl font-bold mb-4">Owners</h1>
<ul class="space-y-2">
<li v-for="o in owners" :key="o.id" class="p-3 bg-gray-100 rounded">
{{ o.name }}
</li>
</ul>
</div>
</template>