Skip to content

Commit 3fd21c5

Browse files
committed
📝 Add local search to docs (fixes #36)
1 parent 7b285ca commit 3fd21c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎docs/.vitepress/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ export default defineConfig({
1313
themeConfig: {
1414
// https://vitepress.dev/reference/default-theme-config
1515
logo: '/favicon.svg',
16-
16+
search: {
17+
provider: 'local'
18+
},
1719
nav: [
1820
{ text: 'Guide', link: '/guide/getting-started', activeMatch: '/guide/' },
1921
{ text: 'API', link: '/reference/props', activeMatch: '/reference/' },
2022
{ text: 'Examples', link: '/examples/basic-example', activeMatch: '/examples/' },
2123
{ text: 'Changelog', link: 'https://github.com/laurens94/vue-timeline-chart/releases' },
2224
],
23-
2425
sidebar: [
2526
{
2627
text: 'Introduction',

0 commit comments

Comments
 (0)