primevue-mirror/pages/nuxt/index.vue

98 lines
3.2 KiB
Vue
Raw Normal View History

2023-10-15 20:57:44 +00:00
<template>
<div>
<Head>
<Title>Nuxt Module - PrimeVue</Title>
<Meta name="description" content="PrimeVue has seamless integration with Nuxt using an exclusive module." />
</Head>
<div class="doc">
<div class="doc-main">
<div class="doc-intro">
<h1>Nuxt</h1>
<p>PrimeVue has seamless integration with Nuxt using the official module.</p>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</div>
</div>
</template>
<script>
import DownloadDoc from '@/doc/nuxt/DownloadDoc.vue';
2023-10-18 07:56:33 +00:00
import ExampleDoc from '@/doc/nuxt/ExampleDoc.vue';
2023-10-15 20:57:44 +00:00
import SetupDoc from '@/doc/nuxt/SetupDoc.vue';
2023-10-18 07:56:33 +00:00
import StyleDoc from '@/doc/nuxt/StyleDoc.vue';
2023-10-15 20:57:44 +00:00
import ComponentsDoc from '@/doc/nuxt/configuration/ComponentsDoc.vue';
import ComposablesDoc from '@/doc/nuxt/configuration/ComposablesDoc.vue';
2023-10-18 07:56:33 +00:00
import DirectivesDoc from '@/doc/nuxt/configuration/DirectivesDoc.vue';
import OptionsDoc from '@/doc/nuxt/configuration/OptionsDoc.vue';
import UsePrimeVueDoc from '@/doc/nuxt/configuration/UsePrimeVueDoc.vue';
2023-10-15 20:57:44 +00:00
import VideoDoc from '../../doc/nuxt/VideoDoc.vue';
export default {
data() {
return {
docs: [
{
id: 'download',
label: 'Download',
component: DownloadDoc
},
{
id: 'setup',
label: 'Setup',
component: SetupDoc
},
{
id: 'configuration',
label: 'Configuration',
children: [
{
id: 'useprimevue',
label: 'usePrimeVue',
component: UsePrimeVueDoc
},
{
id: 'options',
label: 'options',
component: OptionsDoc
},
{
id: 'components',
label: 'components',
component: ComponentsDoc
},
{
id: 'directives',
label: 'directives',
component: DirectivesDoc
},
{
id: 'composables',
label: 'composables',
component: ComposablesDoc
2023-10-15 21:00:28 +00:00
}
2023-10-15 20:57:44 +00:00
]
},
{
id: 'styles',
label: 'Styles',
component: StyleDoc
},
2023-10-15 21:27:45 +00:00
{
id: 'example',
label: 'Example',
component: ExampleDoc
},
2023-10-15 20:57:44 +00:00
{
id: 'video',
2023-10-18 07:56:33 +00:00
label: 'Video Tutorial',
2023-10-15 20:57:44 +00:00
component: VideoDoc
2023-10-15 21:30:57 +00:00
}
2023-10-15 20:57:44 +00:00
]
};
}
};
</script>