2017-12-01 14:48:13 +00:00
|
|
|
<template>
|
2017-12-04 10:48:32 +00:00
|
|
|
<div id="WRAPPER" :class='gstore.min_menu ? "min" : ""'>
|
2017-12-01 14:48:13 +00:00
|
|
|
|
|
|
|
<!-- Header -->
|
|
|
|
<header-comp></header-comp>
|
|
|
|
|
|
|
|
<!-- Menu -->
|
|
|
|
<menu-comp></menu-comp>
|
|
|
|
|
2017-12-04 18:13:49 +00:00
|
|
|
<!-- Container -->
|
2017-12-04 22:29:02 +00:00
|
|
|
<dashboard-container v-show="gstore.menu_item_active == 'dashboard'" ></dashboard-container>
|
|
|
|
<profile-container v-show="gstore.menu_item_active == 'profile'" ></profile-container>
|
|
|
|
<message-container v-show="gstore.menu_item_active == 'inbox'" ></message-container>
|
|
|
|
<notifications-container v-show="gstore.menu_item_active == 'notifications'" ></notifications-container>
|
2017-12-01 14:48:13 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
2017-12-04 18:13:49 +00:00
|
|
|
import header_vue from './header.vue';
|
|
|
|
import menu_vue from './menu.vue';
|
2017-12-04 22:29:02 +00:00
|
|
|
|
|
|
|
import dashboardContainer_vue from './container/dashboard.vue';
|
|
|
|
import profileContainer_vue from './container/profile.vue';
|
|
|
|
import messageContainer_vue from './container/message.vue';
|
|
|
|
import notificationsContainer_vue from './container/notifications.vue';
|
2017-12-01 14:48:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'wrapper',
|
|
|
|
data(){ return {
|
2017-12-04 10:48:32 +00:00
|
|
|
gstore: window.gstore.data
|
2017-12-01 14:48:13 +00:00
|
|
|
}; },
|
|
|
|
components: {
|
2017-12-04 22:29:02 +00:00
|
|
|
'HeaderComp': header_vue,
|
|
|
|
'MenuComp': menu_vue,
|
|
|
|
'DashboardContainer': dashboardContainer_vue,
|
|
|
|
'ProfileContainer': profileContainer_vue,
|
|
|
|
'MessageContainer': messageContainer_vue,
|
|
|
|
'NotificationsContainer': notificationsContainer_vue
|
2017-12-01 14:48:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|