0.0.2 • Published 3 years ago

docusaurus-plugin-less-loader v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

⚠️Modified from docusaurus-plugin-less, currently used for testing of Luckysheet project, please do not use it for production.


Getting Started

  1. Install docusaurus-plugin-less-loader:

    npm i -S docusaurus-plugin-less-loader

    or

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

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

    or with options:

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