add demos page

This commit is contained in:
Philipp Kühn
2021-02-06 20:27:28 +01:00
parent 9a65d5a7d6
commit 297b06ca42
3 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
<template>
<ul class="demos-page">
<li v-for="(demo, index) in $context.demos" :key="index">
<g-link :to="`/demos/${demo}`">
{{ demo }}
</g-link>
</li>
</ul>
</template>
<style lang="scss" src="./style.scss" scoped></style>

View File

@@ -0,0 +1,8 @@
.demos-page {
padding: 1.25rem;
list-style: none;
li {
margin: 0.5rem 0;
}
}