http://pengchenggang.gitee.io/reciterdoc/
支持中文搜索了,可是不容易了

通过插件 vuepress-plugin-fulltext-search 实现全文搜索

安装依赖 vuepress-plugin-fulltext-search    yarn add -D vuepress-plugin-fulltext-search

修改配置 vi docs/.vuepress/config.js

module.exports = {
// ...
plugins: ['fulltext-search'],
}


用了一下 发现的问题是 数据搜的不全,也找不到哪里配置。

['@vuepress/search', {
searchMaxSuggestions: 30
}]

又把原来的搜索加上了,发现中文能搜了,就这样接着用了,但是只能搜标题,但是原来不能搜中文,现在能搜中文标题了。

相关文章:

  • 2022-01-06
  • 2022-01-30
  • 2021-09-29
  • 2021-07-12
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案