40 lines
556 B
Vue
40 lines
556 B
Vue
<template>
|
|
<div class="app">
|
|
<app-navigation />
|
|
<div :is="pageComponent"></div>
|
|
</div>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
import '../Sass/app.scss'
|
|
import AppNavigation from 'zero/navigation.vue'
|
|
import Router from '../router.js'
|
|
|
|
export default {
|
|
name: 'app',
|
|
|
|
router: Router,
|
|
|
|
components: { AppNavigation },
|
|
|
|
data: () => ({
|
|
|
|
}),
|
|
|
|
computed: {
|
|
pageComponent()
|
|
{
|
|
return 'app-page';
|
|
},
|
|
path()
|
|
{
|
|
return this.$route.path;
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
}
|
|
}
|
|
|
|
</script> |