JSPM

docusaurus-plugin-less

2.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5166
  • Score
    100M100P100Q115747F
  • License MIT

Provides support for Less to Docusaurus v2.

Package Exports

  • docusaurus-plugin-less

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docusaurus-plugin-less) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.