I want to install LESS in react app. i have try and find solution to google but not success
I'm new in ReactJs also I don't have deep knowledge.
i need help someone who guide me to install less
i have tried below example
https://medium.com/@giordano.cardillo/adding-sass-or-less-support-to-create-react-app-38cbe6c370ce
Install and configure react-app-rewired .
Install npm i -D customize-cra less less-loader
.
Add a config-overrides.js
in your root with the following:
const { override, addLessLoader } = require('customize-cra');
module.exports = override(
addLessLoader()
);
More info: https://github.com/arackaf/customize-cra
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.