mlpcardgame/src/App.vue

26 lines
465 B
Vue
Raw Normal View History

2019-09-02 07:29:49 +00:00
<template>
2019-09-02 16:02:40 +00:00
<main>
<TopBar v-if="!isFullscreen" />
2019-09-02 07:29:49 +00:00
<router-view />
2019-09-02 16:02:40 +00:00
</main>
2019-09-02 07:29:49 +00:00
</template>
<style lang="scss">
2019-09-02 16:02:40 +00:00
</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;
2019-09-02 07:29:49 +00:00
}
}
2019-09-02 16:02:40 +00:00
</script>