You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cjvt-valency/src/frontend_vue/src/components/Home.vue

47 lines
955 B

<template>
<div>
<p
v-if="this.$root.store.api_error !== null"
class="text-warning"
>
api_error: {{ this.$root.store.api_error }}
</p>
<Nav></Nav>
<div class="my-home container-fluid">
<div class="row">
<div id="search" class="col-sm-2 border-right fill" :key=this.$root.store.indexReloader>
<LWords
v-if="this.$root.store.selIndex.val === 'words'"></LWords>
<LFunctors v-else></LFunctors>
</div>
<div class="col-sm-10">
<router-view></router-view>
</div>
</div>
</div>
</div>
</template>
<script>
import Nav from "./Nav"
import LWords from "./LWords"
import LFunctors from "./LFunctors"
import MainDispl from "./MainDispl"
export default {
name: 'Home',
components: {
Nav: Nav,
LWords: LWords,
LFunctors: LFunctors,
MainDispl: MainDispl,
},
}
</script>
<style scoped>
.my-home {
padding-top: 10px;
}
</style>