baseui/src/app.vue

40 lines
772 B
Vue
Raw Normal View History

2017-08-24 13:23:03 +02:00
<template>
2017-08-29 17:26:45 +02:00
<div class="app">
<topbar></topbar>
<sidebar :items="navigationItems"></sidebar>
<div class="content_area">
<div class="content_main">
<transition name="component-fade" mode="out-in">
<router-view></router-view>
</transition>
</div>
</div>
2017-08-24 13:23:03 +02:00
</div>
</template>
2017-08-29 17:26:45 +02:00
<style lang="less">
@import "app";
</style>
2017-08-24 13:23:03 +02:00
2017-08-29 17:26:45 +02:00
<script>
2017-08-29 20:58:39 +02:00
import Topbar from './components/topbar.vue';
import Sidebar from './components/sidebar.vue';
2017-08-24 13:23:03 +02:00
export default {
name: "App",
components: {
2017-08-29 17:26:45 +02:00
Topbar,
Sidebar
2017-08-24 13:23:03 +02:00
},
data() {
return {
2017-08-29 15:51:50 +02:00
navigationItems: this.$store.state.navigation
2017-08-24 13:23:03 +02:00
}
},
created() {
}
}
</script>