docusaurus-plugin-less-hash

0.0.2 • Public • Published

docusaurus-plugin-less

Provides support for Less to Docusaurus v2

GitHub License

Getting Started

  1. Install docusaurus-plugin-less-hash:

    npm i -S docusaurus-plugin-less-hash

    or

    yarn add docusaurus-plugin-less-hash
  2. Add the plugin to your docusaurus.config.js:

    module.exports = {
    // ...
    + plugins: ["docusaurus-plugin-less-hash"],
    // ...
    }

    or with options:

    module.exports = {
    // ...
    + plugins: ["docusaurus-plugin-less-hash", { /* options */ sourceMap: false }],
    // ...
    }
  3. Write and import your stylesheets in Less as normal.

Package Sidebar

Install

npm i docusaurus-plugin-less-hash

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.37 kB

Total Files

4

Last publish

Collaborators

  • akong