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

export default Vue.extend({
	components: {
		NcContent,
		Sidebar,
		NcAppContent,
	},
	created() {
		this.$store.dispatch('loadFolder')
	},
})
</script>