Next-Generation full text search library for Vuepress
A good replacement of the default Vuepress search plugin.
yarn add -D vuepress-plugin-flexsearch
// or npm install vuepress-plugin-flexsearch -D
// .vuepress/config.js
module.exports = {
themeConfig: {
flexSearchOptions: {
// to override the default options you can see available options on https://github.com/nextapps-de/flexsearch
}
},
plugins: [
['flexsearch'],
// other plugins
]
}
Thanks to nextapps-de/flexsearch
PRs are welcome ❤️