8000 GitHub - mapleafgo/next-less: Next.js latest Less Support
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mapleafgo/next-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js v9.3+ Less Support

Use the latest official support for sass to support less

npm i @mapleafgo/next-less less
# or
yarn add @mapleafgo/next-less less

Usage

Create a next.config.js in your project

// next.config.js
const withLess = require("@mapleafgo/next-less");
module.exports = withLess(
  {
    /* less-loader lessOptions */
  },
  {
    /* config options here */
  }
);

Same as official sass, You can use component-level Less via CSS Modules and the .module.less extension.

About

Next.js latest Less Support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0