add demos page
This commit is contained in:
11
docs/src/templates/DemoPages/index.vue
Normal file
11
docs/src/templates/DemoPages/index.vue
Normal 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>
|
||||
8
docs/src/templates/DemoPages/style.scss
Normal file
8
docs/src/templates/DemoPages/style.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.demos-page {
|
||||
padding: 1.25rem;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user