26 lines
465 B
Vue
26 lines
465 B
Vue
<template>
|
|
<main>
|
|
<TopBar v-if="!isFullscreen" />
|
|
<router-view />
|
|
</main>
|
|
</template>
|
|
|
|
<style lang="scss">
|
|
</style>
|
|
|
|
<script lang="ts">
|
|
import { Component, Vue } from "vue-property-decorator";
|
|
import TopBar from "./components/Navigation/TopBar.vue";
|
|
|
|
@Component({
|
|
components: {
|
|
TopBar
|
|
}
|
|
})
|
|
export default class App extends Vue {
|
|
private get isFullscreen(): boolean {
|
|
return this.$route.meta && this.$route.meta.fullscreen;
|
|
}
|
|
}
|
|
</script>
|