docusaurus-plugin-less

2.0.2 • Public • Published

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.

Package Sidebar

Install

npm i docusaurus-plugin-less

Weekly Downloads

325

Version

2.0.2

License

MIT

Unpacked Size

5.1 kB

Total Files

4

Last publish

Collaborators

  • nonoroazoro