Revision c74bdeff4916b429160e29e7aa6c1791b07f0357 authored by Clément Lelong on 31 March 2021, 12:49:12 UTC, committed by Clément Lelong on 31 March 2021, 12:49:12 UTC
1 parent 795f85f
App.vue
<template>
<component v-bind:is="layout">
<router-view/>
</component>
</template>
<script>
import BaseLayout from '@/components/BaseLayout.vue'
import iFrameLayout from '@/components/iFrameLayout.vue'
export default {
name: 'app',
components: {
BaseLayout,
iFrameLayout,
},
computed: {
layout: function() {
return this.$store.state.inIframe ? "iFrameLayout" : "BaseLayout"
}
}
}
</script>
<style lang="scss">
</style>
Computing file changes ...