Files
music-v2/app/app.vue
T
2026-09-30 01:50:01 +02:00

23 lines
420 B
Vue

<script setup lang="ts">
const { currentSong, isPlaying } = usePlayer()
useHead({
titleTemplate: (titleChunk) =>
currentSong.value && isPlaying.value
? `${currentSong.value.name} - Now Playing - Music`
: `${titleChunk || "Home"} - Music`,
})
</script>
<template>
<ToastContainer />
<NuxtLayout>
<NuxtPage />
<Player />
</NuxtLayout>
</template>
<style lang="scss">
@use "styles/global.scss";
</style>