FEAT: playlists player v1

This commit is contained in:
valere
2024-11-01 13:15:23 +01:00
parent 0ca4cc3bfe
commit 7f8ed0e8a0
6 changed files with 112 additions and 29 deletions

View File

@@ -0,0 +1,14 @@
<template>
<section>
<div v-for="playlist in playlists.files" class="text-white">
<NuxtLink :to="'/playlists/' + playlist"
class="compilation mx-auto p-4 inline-flex hover:bg-esyellow hover:text-black">
{{ playlist }}
</NuxtLink>
</div>
</section>
</template>
<script setup lang="ts">
const { data: playlists } = await useFetch('/api/playlists')
</script>