repod/src/App.vue

47 lines
895 B
Vue
Raw Normal View History

2023-06-22 18:10:30 +00:00
<template>
2023-06-24 15:18:27 +00:00
<NcContent app-name="repod">
2023-06-23 07:44:48 +00:00
<NcAppNavigation>
<NcAppNavigationNew :text="t('repod', 'Add a podcast')"
2023-06-24 15:18:27 +00:00
@click="discover" />
2023-06-22 18:10:30 +00:00
<ul>
2023-06-24 17:53:53 +00:00
<NcAppNavigationItem v-for="podcast in podcasts"
:key="podcast.id"
:name="podcast.id"
2023-06-22 18:10:30 +00:00
:title="note.title ? note.title : t('repod', 'New note')"
:class="{active: currentNoteId === note.id}"
2023-06-24 17:53:53 +00:00
@click="openNote(note)" />
2023-06-22 18:10:30 +00:00
</ul>
2023-06-23 07:44:48 +00:00
</NcAppNavigation>
<NcAppContent>
</NcAppContent>
2023-06-24 15:18:27 +00:00
</NcContent>
2023-06-22 18:10:30 +00:00
</template>
<script>
2023-06-24 17:53:53 +00:00
import { NcAppContent, NcContent, NcAppNavigation, NcAppNavigationItem, NcAppNavigationNew } from '@nextcloud/vue'
2023-06-22 18:10:30 +00:00
export default {
name: 'App',
components: {
2023-06-23 07:44:48 +00:00
NcAppContent,
NcAppNavigation,
NcAppNavigationItem,
NcAppNavigationNew,
2023-06-24 15:18:27 +00:00
NcContent
2023-06-22 18:10:30 +00:00
},
data() {
return {
2023-06-24 17:53:53 +00:00
podcasts: [],
2023-06-22 18:10:30 +00:00
}
},
computed: {
},
async mounted() {
},
methods: {
},
}
</script>
<style scoped>
</style>