Skip to content

nonoroazoro/docusaurus-plugin-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-plugin-less

Provides support for Less to Docusaurus v2

GitHub License

Getting Started

  1. Install docusaurus-plugin-less:

    npm i -S docusaurus-plugin-less

    or

    yarn add docusaurus-plugin-less
  2. 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 }],
    // ...
    }
  3. Write and import your stylesheets in Less as normal.