69 lines
1.9 KiB
Vue
69 lines
1.9 KiB
Vue
<template>
|
|
<DocPTViewer :docs="docs">
|
|
<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'
|
|
}
|
|
],
|
|
docs: [
|
|
{
|
|
data: getPTOptions('Menubar'),
|
|
key: 'Menubar'
|
|
}
|
|
]
|
|
};
|
|
}
|
|
};
|
|
</script>
|