Skip to content

Commit 33697b8

Browse files
committed
Added lunr search.
1 parent 56cf93f commit 33697b8

File tree

3 files changed

+395
-0
lines changed

3 files changed

+395
-0
lines changed

docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const config = {
7474
],
7575
],
7676
plugins: [
77+
require.resolve("docusaurus-lunr-search"),
7778
async function myPlugin() {
7879
return {
7980
name: "docusaurus-tailwindcss",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"autoprefixer": "^10.4.20",
3939
"clsx": "^1.2.1",
4040
"d3": "^7.9.0",
41+
"docusaurus-lunr-search": "^3.5.0",
42+
"lunr": "^2.3.9",
4143
"mermaid": "^10.9.3",
4244
"postcss": "^8.4.49",
4345
"prism-react-renderer": "^2.4.1",

0 commit comments

Comments
 (0)