mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
change to search pluging slimsearch
This commit is contained in:
parent
388378c9f8
commit
8c1593023c
@ -66,19 +66,8 @@ export default hopeTheme({
|
||||
},
|
||||
],
|
||||
plugins: {
|
||||
searchPro: {
|
||||
indexContent: true,
|
||||
autoSuggestions: true,
|
||||
customFields: [
|
||||
{
|
||||
getter: (page) => page.frontmatter.category,
|
||||
formatter: "Category: $content",
|
||||
},
|
||||
{
|
||||
getter: (page) => page.frontmatter.tag,
|
||||
formatter: "Tag: $content",
|
||||
},
|
||||
],
|
||||
slimsearch: {
|
||||
indexContent: true
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
970
package-lock.json
generated
970
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,7 @@
|
||||
"devDependencies": {
|
||||
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.4",
|
||||
"@vuepress/bundler-vite": "^2.0.0-rc.19",
|
||||
"@vuepress/plugin-slimsearch": "^2.0.0-rc.74",
|
||||
"textlint": "^14.4.2",
|
||||
"textlint-filter-rule-comments": "^1.2.2",
|
||||
"textlint-rule-apostrophe": "^3.0.0",
|
||||
@ -37,7 +38,6 @@
|
||||
"textlint-rule-period-in-list-item": "^1.0.1",
|
||||
"textlint-rule-write-good": "^2.0.0",
|
||||
"vuepress": "^2.0.0-rc.19",
|
||||
"vuepress-plugin-search-pro": "^2.0.0-rc.59",
|
||||
"vuepress-theme-hope": "^2.0.0-rc.71"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user