ptut-vhost/webpack/vue/wrapper.vue

31 lines
463 B
Vue

<template>
<div id="WRAPPER">
<!-- Header -->
<header-comp></header-comp>
<!-- Menu -->
<menu-comp></menu-comp>
<!-- Container -->
<router-view></router-view>
</div>
</template>
<script>
import header_vue from './header.vue'
import menu_vue from './menu.vue'
export default {
name: 'wrapper',
data(){ return { gstore: gstore.get }; },
components: {
'HeaderComp': header_vue,
'MenuComp': menu_vue
}
}
</script>