add optional header part for options & add biblio view with mode as component

This commit is contained in:
axolotle
2021-03-08 16:03:57 +01:00
parent a8c4912604
commit 9a0d07b0f1
4 changed files with 68 additions and 5 deletions
+27
View File
@@ -0,0 +1,27 @@
<template>
<component-debug :component="this">
<component :is="mode" />
</component-debug>
</template>
<script>
import { CardList, CardMap, TreeMap } from './biblio'
export default {
name: 'Biblio',
components: {
CardList,
CardMap,
TreeMap
},
props: {
mode: { type: String, required: true }
}
}
</script>
<style lang="scss" scoped>
</style>
+16
View File
@@ -0,0 +1,16 @@
<template>
<component-debug :component="this" v-if="show" />
</template>
<script>
export default {
name: 'TextOptions',
props: {
show: { type: Boolean, default: true }
}
}
</script>
<style lang="scss" scoped>
</style>