fix(docs): fix support of Search Bar in docs

This commit is contained in:
zthxxx
2023-06-26 22:53:00 +08:00
parent e274353968
commit 273e6c6595
2 changed files with 4 additions and 5 deletions

View File

@@ -13,6 +13,10 @@ export default defineConfig({
{ text: "常见问题", link: "/faq/常见问题" },
],
search: {
provider: 'local'
},
sidebar: [
{
text: "项目说明",

View File

@@ -13,11 +13,6 @@ import './style.css'
export default {
extends: Theme,
themeConfig: {
search: {
provider: 'local'
}
},
Layout: () => {
return h(Theme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots