47 lines
1.1 KiB
Vue
47 lines
1.1 KiB
Vue
<template>
|
|
<DocComponent title="Vue Divider Component" header="Divider" description="Divider is used to separate contents." :componentDocs="docs" />
|
|
</template>
|
|
|
|
<script setup>
|
|
import BasicDoc from '@/doc/divider/BasicDoc.vue';
|
|
import ContentDoc from '@/doc/divider/ContentDoc.vue';
|
|
import ImportDoc from '@/doc/divider/ImportDoc.vue';
|
|
import LoginDoc from '@/doc/divider/LoginDoc.vue';
|
|
import TypeDoc from '@/doc/divider/TypeDoc.vue';
|
|
import VerticalDoc from '@/doc/divider/VerticalDoc.vue';
|
|
import { ref } from 'vue';
|
|
|
|
const docs = ref([
|
|
{
|
|
id: 'import',
|
|
label: 'Import',
|
|
component: ImportDoc
|
|
},
|
|
{
|
|
id: 'basic',
|
|
label: 'Basic',
|
|
component: BasicDoc
|
|
},
|
|
{
|
|
id: 'type',
|
|
label: 'Type',
|
|
component: TypeDoc
|
|
},
|
|
{
|
|
id: 'vertical',
|
|
label: 'Vertical',
|
|
component: VerticalDoc
|
|
},
|
|
{
|
|
id: 'content',
|
|
label: 'Content',
|
|
component: ContentDoc
|
|
},
|
|
{
|
|
id: 'login',
|
|
label: 'Login',
|
|
component: LoginDoc
|
|
}
|
|
]);
|
|
</script>
|