2017-07-23 18:42:08 +00:00
|
|
|
<template>
|
2017-07-28 07:40:24 +00:00
|
|
|
<div id="app" class="app" v-bind:class="{'app--loading': loading}">
|
2017-07-23 18:42:08 +00:00
|
|
|
<layout></layout>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import Layout from './Layout';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
Layout,
|
|
|
|
},
|
2017-07-28 07:40:24 +00:00
|
|
|
computed: {
|
|
|
|
loading() {
|
|
|
|
return !this.$store.getters['contents/current'].id;
|
|
|
|
},
|
|
|
|
},
|
2017-07-23 18:42:08 +00:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2017-07-28 20:04:12 +00:00
|
|
|
@import 'common/app';
|
2017-07-23 18:42:08 +00:00
|
|
|
</style>
|