daldridge / docusaurus-plugin-lunr

Docusaurus v2 plugin to create a local search index for use with Lunr.js
MIT License
50 stars 5 forks source link

There's no search bar #15

Open adanski opened 3 years ago

adanski commented 3 years ago

I followed the guidelines from README yet no search bar appears when I try to access the site. Tested on Docusaurus 2.0.0-alpha.70

lyricat commented 3 years ago

same issue.

ArkajyotiChatterjee commented 2 years ago

It's because previous builds were cached, preventing newly created themes.

Please update the document that if someone has already done npm run start or npm run build, then after installing and swizzling, he / she needs to run yarn docusaurus clear.

Refer to this link : Search Bar not shown in top nav