2023-10-15 20:57:44 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<Head>
|
2023-12-26 18:28:43 +00:00
|
|
|
<Title>Install PrimeVue with Nuxt</Title>
|
|
|
|
<Meta name="description" content="Setting up PrimeVue in a Nuxt project" />
|
2023-10-15 20:57:44 +00:00
|
|
|
</Head>
|
|
|
|
<div class="doc">
|
|
|
|
<div class="doc-main">
|
|
|
|
<div class="doc-intro">
|
2023-12-26 18:28:43 +00:00
|
|
|
<h1>Install PrimeVue with Nuxt</h1>
|
|
|
|
<p>Setting up PrimeVue in a Nuxt project.</p>
|
2023-10-15 20:57:44 +00:00
|
|
|
</div>
|
|
|
|
<DocSections :docs="docs" />
|
|
|
|
</div>
|
|
|
|
<DocSectionNav :docs="docs" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2024-07-03 10:06:06 +00:00
|
|
|
import AutoImportDoc from '@/doc/nuxt/AutoImportDoc.vue';
|
2023-10-15 20:57:44 +00:00
|
|
|
import DownloadDoc from '@/doc/nuxt/DownloadDoc.vue';
|
2023-12-26 18:28:43 +00:00
|
|
|
import ExamplesDoc from '@/doc/nuxt/ExamplesDoc.vue';
|
2024-10-27 10:54:37 +00:00
|
|
|
import ModuleDoc from '@/doc/nuxt/ModuleDoc.vue';
|
|
|
|
import NextStepsDoc from '@/doc/nuxt/NextStepsDoc.vue';
|
|
|
|
import ThemeDoc from '@/doc/nuxt/ThemeDoc.vue';
|
|
|
|
import VerifyDoc from '@/doc/nuxt/VerifyDoc.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';
|
2023-10-25 03:17:40 +00:00
|
|
|
import ImportPTDoc from '@/doc/nuxt/configuration/ImportPTDoc.vue';
|
2024-04-01 10:00:02 +00:00
|
|
|
import ImportThemeDoc from '@/doc/nuxt/configuration/ImportThemeDoc.vue';
|
2023-10-18 07:56:33 +00:00
|
|
|
import OptionsDoc from '@/doc/nuxt/configuration/OptionsDoc.vue';
|
|
|
|
import UsePrimeVueDoc from '@/doc/nuxt/configuration/UsePrimeVueDoc.vue';
|
2023-10-15 20:57:44 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'download',
|
|
|
|
label: 'Download',
|
|
|
|
component: DownloadDoc
|
|
|
|
},
|
|
|
|
{
|
2024-10-27 10:54:37 +00:00
|
|
|
id: 'module',
|
|
|
|
label: 'Module',
|
|
|
|
component: ModuleDoc
|
2023-12-26 18:28:43 +00:00
|
|
|
},
|
2024-07-03 10:06:06 +00:00
|
|
|
{
|
2024-10-27 10:54:37 +00:00
|
|
|
id: 'theme',
|
|
|
|
label: 'Theme',
|
|
|
|
component: ThemeDoc
|
2024-07-03 10:06:06 +00:00
|
|
|
},
|
2023-12-26 18:28:43 +00:00
|
|
|
{
|
2024-10-27 10:54:37 +00:00
|
|
|
id: 'verify',
|
|
|
|
label: 'Verify',
|
|
|
|
component: VerifyDoc
|
2023-10-15 20:57:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'configuration',
|
2024-05-27 09:13:32 +00:00
|
|
|
label: 'Configuration',
|
2023-10-15 20:57:44 +00:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
id: 'useprimevue',
|
|
|
|
label: 'usePrimeVue',
|
|
|
|
component: UsePrimeVueDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'options',
|
|
|
|
label: 'options',
|
|
|
|
component: OptionsDoc
|
|
|
|
},
|
2024-07-03 10:06:06 +00:00
|
|
|
{
|
|
|
|
id: 'autoimport',
|
|
|
|
label: 'autoImport',
|
|
|
|
component: AutoImportDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'importpt',
|
|
|
|
label: 'importPT',
|
|
|
|
component: ImportPTDoc
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'importtheme',
|
|
|
|
label: 'importTheme',
|
|
|
|
component: ImportThemeDoc
|
|
|
|
},
|
2023-10-15 20:57:44 +00:00
|
|
|
{
|
|
|
|
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
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-12-26 18:28:43 +00:00
|
|
|
id: 'examples',
|
|
|
|
label: 'Examples',
|
|
|
|
component: ExamplesDoc
|
2024-10-27 10:54:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'nextsteps',
|
|
|
|
label: 'Next Steps',
|
|
|
|
component: NextStepsDoc
|
2023-10-15 21:30:57 +00:00
|
|
|
}
|
2023-10-15 20:57:44 +00:00
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|