<template>

    <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>
    </div>
</template>

<style lang="less">
    @import "app";
</style>

<script>
import Topbar from './components/navigation.vue';
import Sidebar from './components/navigation.vue';

export default {
    name: "App",
    components: {
        Topbar,
        Sidebar
    },
    data() {
        return {
            navigationItems: this.$store.state.navigation
        }
    },
    created() {
    }
}
</script>
