primevue-mirror/apps/showcase/doc/menubar/pt/PTViewer.vue

69 lines
1.9 KiB
Vue
Raw Normal View History

2024-09-17 12:20:05 +00:00
<template>
2024-09-20 12:22:44 +00:00
<DocPTViewer :docs="docs">
2024-09-17 12:20:05 +00:00
<Menubar :model="items" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
items: [
{
label: 'Home',
icon: 'pi pi-home'
},
{
label: 'Features',
icon: 'pi pi-star'
},
{
label: 'Projects',
icon: 'pi pi-search',
items: [
{
label: 'Components',
icon: 'pi pi-bolt'
},
{
label: 'Blocks',
icon: 'pi pi-server'
},
{
label: 'UI Kit',
icon: 'pi pi-pencil'
},
{
label: 'Templates',
icon: 'pi pi-palette',
items: [
{
label: 'Apollo',
icon: 'pi pi-palette'
},
{
label: 'Ultima',
icon: 'pi pi-palette'
}
]
}
]
},
{
label: 'Contact',
icon: 'pi pi-envelope'
}
],
2024-09-20 12:22:44 +00:00
docs: [
2024-09-17 12:20:05 +00:00
{
data: getPTOptions('Menubar'),
key: 'Menubar'
}
]
};
}
};
</script>