primevue-mirror/pages/card/index.vue

48 lines
1.4 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Card Component" header="Card" description="Card is a flexible container component." :componentDocs="docs" :apiDocs="['Card']" :ptTabComponent="ptComponent" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/card/AccessibilityDoc';
import AdvancedDoc from '@/doc/card/AdvancedDoc';
import BasicDoc from '@/doc/card/BasicDoc';
import ImportDoc from '@/doc/card/ImportDoc';
import StyleDoc from '@/doc/card/StyleDoc';
import PTComponent from '@/doc/card/pt/index.vue';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'advanced',
label: 'Advanced',
component: AdvancedDoc
},
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>