summaryrefslogtreecommitdiffstats
path: root/src/App.vue
blob: b4119937ec7bced1f3c0ac046704ec0fccc6bcc8 (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
<template>
	<Content app-name="news">
		<Sidebar />
        <AppContent>
            <router-view></router-view>
        </AppContent>
	</Content>
</template>

<script>
import Content from '@nextcloud/vue/dist/Components/Content'
import AppContent from '@nextcloud/vue/dist/Components/AppContent'
import Sidebar from './components/Sidebar.vue'

export default {
	components: {
		Content,
		Sidebar,
        AppContent,
	},
    created() {
        this.$store.dispatch('loadFolder')
    }

}
</script>