Skip to content

Commit 2317559

Browse files
authored
add full text search (#242)
1 parent f6d16f6 commit 2317559

File tree

3 files changed

+183
-155
lines changed

3 files changed

+183
-155
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"devDependencies": {
1818
"vuepress": "^1.9.7",
1919
"vuepress-plugin-clean-urls": "^1.1.2",
20+
"vuepress-plugin-fulltext-search": "^2.2.1",
2021
"vuepress-plugin-google-tag-manager": "0.0.5"
2122
}
2223
}

src/.vuepress/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ module.exports = {
7575
[ 'clean-urls', {
7676
normalSuffix: pageSuffix,
7777
indexSuffix: pageSuffix
78-
}]
78+
}],
79+
['fulltext-search']
7980
],
8081

8182
markdown: {

0 commit comments

Comments
 (0)