diff options
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 000000000..b4119937e --- /dev/null +++ b/src/App.vue @@ -0,0 +1,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> |