Skip to main content

πŸ‘©β€πŸ’» 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