π©βπ» Running Docusaurus Locally
Run in developmentβ
Once you start your site, you should see changes as you save (no need to reload manually)
npm start
But sometimes we don't see our changes, or some error appears (esp when deleting folder with docs in the docs folder)
To fix this, stop docusaurus and restart it Β―\_(γ)_/Β―
Run in productionβ
Search and Localization only works with Production buildsβ
The Offline / Local plugin is installed to provide search. It only works on production builds, won't work while we're running the development build.
To test the search plugin locally or multi-language support you need to generate a production build, then serve it:
npm run build && npm run serve