primevue-mirror/pages/tailwind/index.vue

56 lines
1.6 KiB
Vue
Raw Normal View History

2023-07-09 21:13:49 +00:00
<template>
<div>
<Head>
<Title>Tailwind - PrimeVue</Title>
2023-08-01 10:23:12 +00:00
<Meta name="description" content="Tailwind UI Components for Vue" />
2023-07-09 21:13:49 +00:00
</Head>
<div class="doc">
<div class="doc-main">
<div class="doc-intro">
<h1>Tailwind CSS</h1>
2023-08-01 10:23:12 +00:00
<p>Tailwind is a popular utility-first CSS library that fits perfectly to the unstyled mode of PrimeVue. A built-in Tailwind theme is even available to get started in no time.</p>
2023-07-09 21:13:49 +00:00
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</div>
</div>
</template>
<script>
2023-08-01 10:23:12 +00:00
import ApiDoc from '@/doc/tailwind/ApiDoc';
import CustomizationDoc from '@/doc/tailwind/CustomizationDoc.vue';
2023-07-09 21:13:49 +00:00
import ExampleDoc from '@/doc/tailwind/ExampleDoc';
import SetupDoc from '@/doc/tailwind/SetupDoc';
export default {
data() {
return {
docs: [
{
id: 'setup',
label: 'Setup',
component: SetupDoc
},
2023-08-01 10:23:12 +00:00
{
id: 'customization',
label: 'Customization',
component: CustomizationDoc
},
2023-07-09 21:13:49 +00:00
{
id: 'example',
label: 'Example',
component: ExampleDoc
2023-08-01 10:23:12 +00:00
},
{
id: 'api',
label: 'Theme API',
component: ApiDoc
2023-07-09 21:13:49 +00:00
}
]
};
}
};
</script>