koel/resources/assets/js/components/screens/home/ViewAllRecentSongsButton.vue

19 lines
375 B
Vue
Raw Normal View History

2024-04-04 22:20:42 +00:00
<template>
<Btn highlight rounded small @click.prevent="goToRecentlyPlayedScreen">
View All
</Btn>
</template>
2024-04-23 21:01:27 +00:00
<script lang="ts" setup>
2024-04-04 22:20:42 +00:00
import { useRouter } from '@/composables'
import Btn from '@/components/ui/form/Btn.vue'
const { go } = useRouter()
const goToRecentlyPlayedScreen = () => go('recently-played')
</script>
2024-04-23 21:01:27 +00:00
<style lang="postcss" scoped>
2024-04-04 22:20:42 +00:00
</style>