primevue-mirror/pages/tailwind/index.vue

84 lines
2.7 KiB
Vue
Raw Normal View History

2024-05-27 19:18:44 +00:00
<template>
<Head>
<Title>Tailwind CSS - PrimeVue</Title>
<Meta name="description" content="Integration between PrimeVue and Tailwind CSS" />
</Head>
<div class="doc">
<div class="doc-main">
<div class="doc-intro">
<h1>Tailwind CSS</h1>
<p>Integration between PrimeVue and Tailwind CSS.</p>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</div>
</template>
<script>
2024-05-28 07:44:55 +00:00
import AnimationsDoc from '@/doc/tailwind/AnimationsDoc.vue';
2024-05-27 19:18:44 +00:00
import ExtensionsDoc from '@/doc/tailwind/ExtensionsDoc.vue';
import OverviewDoc from '@/doc/tailwind/OverviewDoc.vue';
import PluginDoc from '@/doc/tailwind/PluginDoc.vue';
import PresetsDoc from '@/doc/tailwind/PresetsDoc.vue';
2024-05-28 06:18:34 +00:00
import ColorPaletteDoc from '@/doc/tailwind/samples/ColorPaletteDoc.vue';
2024-05-28 07:06:48 +00:00
import FormDoc from '@/doc/tailwind/samples/FormDoc.vue';
import HeadlessDoc from '@/doc/tailwind/samples/HeadlessDoc.vue';
2024-05-27 19:18:44 +00:00
export default {
data() {
return {
docs: [
{
id: 'overview',
label: 'Overview',
component: OverviewDoc
},
{
id: 'presets',
label: 'Presets',
component: PresetsDoc
},
{
id: 'plugin',
label: 'PluginDoc',
component: PluginDoc
},
{
id: 'extensions',
label: 'Extensions',
component: ExtensionsDoc
},
{
id: 'samples',
label: 'Samples',
2024-05-28 06:18:34 +00:00
description: 'Example uses cases with PrimeVue and Tailwind CSS.',
children: [
{
2024-05-28 07:06:48 +00:00
id: 'colorpalette',
2024-05-28 06:18:34 +00:00
label: 'Color Palette',
component: ColorPaletteDoc
2024-05-28 07:06:48 +00:00
},
{
id: 'form',
label: 'Form',
component: FormDoc
},
{
id: 'headless',
label: 'Headless',
component: HeadlessDoc
2024-05-28 06:18:34 +00:00
}
]
2024-05-28 07:44:55 +00:00
},
{
id: 'animations',
label: 'Animations',
component: AnimationsDoc
2024-05-30 09:00:53 +00:00
}
2024-05-27 19:18:44 +00:00
]
};
}
};
</script>