🦖 Docusaurus Plugin Relative Paths
Convert absolute paths to relative paths. Make the build files accessible from anywhere without a server.
Installation
If using npm, run the following commnad:
npm i docusaurus-plugin-relative-paths
If using yarn, run the following commnad:
yarn add docusaurus-plugin-relative-paths
Usage
In docusaurus.config.js
, add the following code:
module.exports = {
// ...
plugins: ['docusaurus-plugin-relative-paths'],
};