<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>
