mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
96ff08406c
mostly working, feeling like vuepress should still be considered
78 lines
2.7 KiB
TypeScript
78 lines
2.7 KiB
TypeScript
import type { DefaultTheme } from 'vitepress'
|
|
|
|
export const themeConfig: DefaultTheme.Config = {
|
|
repo: 'sagalbot/vue-select',
|
|
editLinks: true,
|
|
docsDir: 'docs',
|
|
nav: [{ text: 'Sandbox', link: '/sandbox' }],
|
|
sidebar: [
|
|
{
|
|
text: 'Community',
|
|
collapsable: false,
|
|
children: [
|
|
{ text: 'Sponsors 🎉', link: 'sponsors' },
|
|
{ text: 'Contributors', link: 'contributors' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Getting Started',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'guide/install', text: 'Installation' },
|
|
{ link: 'guide/options', text: 'Dropdown Options' },
|
|
{ link: 'guide/values', text: 'Selecting Values' },
|
|
{ link: 'guide/upgrading', text: 'Upgrading 2.x to 3.x' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Templating & Styling',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'guide/components', text: 'Child Components' },
|
|
{ link: 'guide/css', text: 'CSS & Selectors' },
|
|
{ link: 'guide/slots', text: 'Slots' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Accessibility',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'guide/accessibility', text: 'WAI-ARIA Spec' },
|
|
{ link: 'guide/localization', text: 'Localization' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Use Cases',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'guide/validation', text: 'Validation' },
|
|
{ link: 'guide/selectable', text: 'Limiting Selections' },
|
|
{ link: 'guide/pagination', text: 'Pagination' },
|
|
{ link: 'guide/infinite-scroll', text: 'Infinite Scroll' },
|
|
{ link: 'guide/vuex', text: 'Vuex' },
|
|
{ link: 'guide/ajax', text: 'AJAX' },
|
|
{ link: 'guide/loops', text: 'Using in Loops' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Customizing',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'guide/keydown', text: 'Keydown Events' },
|
|
{ link: 'guide/positioning', text: 'Dropdown Position' },
|
|
{ link: 'guide/opening', text: 'Dropdown Opening' },
|
|
{ link: 'guide/filtering', text: 'Option Filtering' },
|
|
],
|
|
},
|
|
{
|
|
text: 'API',
|
|
collapsable: false,
|
|
children: [
|
|
{ link: 'api/props', text: 'Props' },
|
|
{ link: 'api/slots', text: 'Slots' },
|
|
{ link: 'api/events', text: 'Events' },
|
|
],
|
|
},
|
|
],
|
|
}
|