add base routes and views

This commit is contained in:
axolotle
2021-03-08 19:03:43 +01:00
parent b097712477
commit c012a28aa8
8 changed files with 89 additions and 27 deletions
+12
View File
@@ -0,0 +1,12 @@
<template>
<component-debug :component="this" />
</template>
<script>
export default {
name: 'Blog'
}
</script>
<style lang="scss" scoped>
</style>
+12
View File
@@ -0,0 +1,12 @@
<template>
<component-debug :component="this" />
</template>
<script>
export default {
name: 'Gallery'
}
</script>
<style lang="scss" scoped>
</style>
+3 -15
View File
@@ -1,22 +1,10 @@
<template>
<div class="home">
<b-button :to="{ name: 'biblio', query }">
Biblio
</b-button>
</div>
<component-debug :component="this">
</component-debug>
</template>
<script>
export default {
name: 'Home',
data () {
return {
query: {
mode: 'card-list',
texts: [[1, 10, 2], [20, 5, 19]]
}
}
}
name: 'Home'
}
</script>
+12
View File
@@ -0,0 +1,12 @@
<template>
<component-debug :component="this" />
</template>
<script>
export default {
name: 'Kit'
}
</script>
<style lang="scss" scoped>
</style>
+2 -2
View File
@@ -12,11 +12,11 @@
</template>
<script>
import { CardList, CardMap, TreeMap, TextCard } from './biblio'
import { CardList, CardMap, TreeMap, TextCard } from './library'
export default {
name: 'Biblio',
name: 'Library',
components: {
CardList,