primevue-mirror/apps/showcase/pages/menubar/index.vue

70 lines
2.1 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent
title="Vue Navbar Component"
header="Menubar"
description="Menubar also known as Navbar, is a horizontal menu component."
:componentDocs="docs"
:apiDocs="['Menubar', 'MenuItem']"
:ptTabComponent="ptComponent"
:themingDocs="themingDoc"
/>
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/menubar/AccessibilityDoc.vue';
2024-10-24 18:18:31 +00:00
import AdvancedDoc from '@/doc/menubar/AdvancedDoc.vue';
2023-09-21 11:21:43 +00:00
import BasicDoc from '@/doc/menubar/BasicDoc.vue';
2023-11-07 14:22:54 +00:00
import CommandDoc from '@/doc/menubar/CommandDoc.vue';
2023-09-21 11:21:43 +00:00
import ImportDoc from '@/doc/menubar/ImportDoc.vue';
import RouterDoc from '@/doc/menubar/RouterDoc.vue';
import TemplateDoc from '@/doc/menubar/TemplateDoc.vue';
2023-04-27 15:28:36 +00:00
import PTComponent from '@/doc/menubar/pt/index.vue';
import ThemingDoc from '@/doc/menubar/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'import',
label: 'Import',
component: ImportDoc
2022-09-09 20:41:18 +00:00
},
{
2023-02-28 08:29:30 +00:00
id: 'basic',
label: 'Basic',
component: BasicDoc
2022-09-09 20:41:18 +00:00
},
2024-10-24 18:18:31 +00:00
{
id: 'advanced',
label: 'Advanced',
component: AdvancedDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'template',
label: 'Template',
component: TemplateDoc
2022-09-09 20:41:18 +00:00
},
2023-11-07 14:22:54 +00:00
{
id: 'command',
label: 'Command',
component: CommandDoc
},
2023-08-30 13:33:42 +00:00
{
id: 'router',
label: 'Router',
component: RouterDoc
},
2022-09-09 20:41:18 +00:00
{
2023-02-28 08:29:30 +00:00
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
2022-09-09 20:41:18 +00:00
}
2023-04-27 15:28:36 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>