Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure docs search #25

Merged
merged 3 commits into from
Apr 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
configure docs search
ubugeeei committed Apr 8, 2024
commit 13293f9324072dc51e8b51bfa523dece88fcf126
13 changes: 6 additions & 7 deletions packages/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineConfig } from 'vitepress';


const Guide = [
{ text: 'はじめに', link: '/guide/' },
{ text: 'VueUseとは', link: '/guide/what-is-vueuse' },
@@ -9,10 +8,12 @@ const Guide = [

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "VueYous",
description: "Craft Your Own VueUse Composables From Scratch",
title: 'VueYous',
description: 'Craft Your Own VueUse Composables From Scratch',

// https://vitepress.dev/reference/default-theme-config
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
search: { provider: 'local' },
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', items: Guide }
@@ -25,8 +26,6 @@ export default defineConfig({
}
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/pei-pay/VueYous' }
]
socialLinks: [{ icon: 'github', link: 'https://github.com/pei-pay/VueYous' }]
}
});