Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

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.