primevue-mirror/pages/fileupload/index.vue

70 lines
2.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-02-28 08:29:30 +00:00
<DocComponent
title="Vue File Upload Component"
header="File Upload"
description="FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations."
:componentDocs="docs"
:apiDocs="['FileUpload']"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/fileupload/AccessibilityDoc.vue';
import AdvancedDoc from '@/doc/fileupload/AdvancedDoc.vue';
import AutoDoc from '@/doc/fileupload/AutoDoc.vue';
import BasicDoc from '@/doc/fileupload/BasicDoc.vue';
import CustomUploadDoc from '@/doc/fileupload/CustomUploadDoc.vue';
import ImportDoc from '@/doc/fileupload/ImportDoc.vue';
import StyleDoc from '@/doc/fileupload/StyleDoc.vue';
import TemplateDoc from '@/doc/fileupload/TemplateDoc.vue';
2022-09-09 20:41:18 +00:00
export default {
2022-12-08 12:26:57 +00:00
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'auto',
label: 'Auto',
component: AutoDoc
},
{
id: 'advanced',
label: 'Advanced',
component: AdvancedDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'custom-upload',
label: 'Custom Upload',
component: CustomUploadDoc
},
{
id: 'style',
label: 'Style',
component: StyleDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
]
2022-12-08 12:26:57 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>