blob: 930c8b04811e2afeef3da1c665112f536f510e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<template>
<NcContent app-name="news">
<Sidebar />
<NcAppContent>
<RouterView />
</NcAppContent>
</NcContent>
</template>
<script lang="ts">
import Vue from 'vue'
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
import Sidebar from './components/Sidebar.vue'
import { ACTIONS } from './store'
export default Vue.extend({
components: {
NcContent,
Sidebar,
NcAppContent,
},
async created() {
await this.$store.dispatch(ACTIONS.FETCH_FOLDERS)
await this.$store.dispatch(ACTIONS.FETCH_FEEDS)
},
})
</script>
<style>
.material-design-icon {
color: var(--color-text-lighter)
}
</style>
|