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