docusaurus-plugin-less
v2.0.2
Published
Provides support for Less to Docusaurus v2.
Downloads
2,053
Maintainers
Readme
Getting Started
Install
docusaurus-plugin-less
:npm i -S docusaurus-plugin-less
or
yarn add docusaurus-plugin-less
Add the plugin to your
docusaurus.config.js
:module.exports = { // ... + plugins: ["docusaurus-plugin-less"], // ... }
or with
options
:module.exports = { // ... + plugins: ["docusaurus-plugin-less", { /* options */ sourceMap: false }], // ... }
Write and import your stylesheets in Less as normal.