primevue-mirror/pages/theming/index.vue

86 lines
2.6 KiB
Vue
Executable File

<template>
<div>
<Head>
<Title>Theming - PrimeVue</Title>
<Meta name="description" content="Choose from a variety of themes or develop your own theme easily." />
</Head>
<div class="doc">
<div class="doc-main">
<div class="doc-intro">
<h1>Theming</h1>
<p>Choose from a variety of themes or develop your own theme easily.</p>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</div>
</div>
</template>
<script>
import ArchitectureDoc from '@/doc/theming/ArchitectureDoc';
import BuiltInThemesDoc from '@/doc/theming/BuiltInThemesDoc';
import CSSModulesDoc from '@/doc/theming/CSSModulesDoc';
import CustomThemeDoc from '@/doc/theming/CustomThemeDoc';
import PrimeFlexDoc from '@/doc/theming/PrimeFlexDoc';
import ScaleDoc from '@/doc/theming/ScaleDoc';
import ScopedCSSDoc from '@/doc/theming/ScopedCSSDoc';
import UtilsDoc from '@/doc/theming/UtilsDoc';
import SwitchThemesDoc from '../../doc/theming/SwitchThemesDoc';
export default {
data() {
return {
docs: [
{
id: 'architecture',
label: 'Architecture',
component: ArchitectureDoc
},
{
id: 'builtinthemes',
label: 'Buit-in Themes',
component: BuiltInThemesDoc
},
{
id: 'switchthemes',
label: 'Switch Themes',
component: SwitchThemesDoc
},
{
id: 'customtheme',
label: 'Custom Theme',
component: CustomThemeDoc
},
{
id: 'scopedcss',
label: 'Scoped CSS',
component: ScopedCSSDoc
},
{
id: 'cssmodules',
label: 'CSS Modules',
component: CSSModulesDoc
},
{
id: 'scale',
label: 'Scale',
component: ScaleDoc
},
{
id: 'primeflex',
label: 'PrimeFlex',
component: PrimeFlexDoc
},
{
id: 'utils',
label: 'Utils',
component: UtilsDoc
}
]
};
}
};
</script>