first commit

This commit is contained in:
2020-03-21 15:52:49 +01:00
commit 3f96cc6fe3
126 changed files with 57882 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<template>
<div>
<Nav />
<div class="flex">
<SideBar />
<router-view class="main"></router-view>
</div>
</div>
</template>
<script>
import Nav from "./Nav";
import SideBar from "./SideBar";
export default {
name: "App",
components : {
Nav, SideBar
},
mounted() {
this.$store.dispatch('fetchAuthUser')
},
created() {
this.$store.dispatch('setPageTitle', this.$route.meta.title)
},
watch: {
$route(to, from) {
this.$store.dispatch('setPageTitle', to.meta.title)
}
}
}
</script>