Skip to content

Commit

Permalink
Bump vuepress search plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
blelump committed Jul 2, 2024
1 parent f027fda commit 83f7bc5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1,026 deletions.
10 changes: 4 additions & 6 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { viteBundler } from "@vuepress/bundler-vite";
import { defaultTheme } from "@vuepress/theme-default";
import { defineUserConfig } from "vuepress";
import { searchPlugin } from "@vuepress/plugin-search";

export default defineUserConfig({
lang: "en-US",
Expand All @@ -17,12 +18,9 @@ export default defineUserConfig({
},

plugins: [
[
"@vuepress/search",
{
searchMaxSuggestions: 10,
},
],
searchPlugin({
searchMaxSuggestions: 10,
}),
],
bundler: viteBundler(),
theme: defaultTheme({
Expand Down
Loading

0 comments on commit 83f7bc5

Please sign in to comment.