pages moved to app/pages
This commit is contained in:
parent
8c81fd3bf7
commit
44d7a0f87a
3 changed files with 1 additions and 4 deletions
19
frontend/app/pages/owners.vue
Normal file
19
frontend/app/pages/owners.vue
Normal 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>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue