We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The craco-less craco-antd project is almost dead.
craco-less
craco-antd
I read doc less-loader and my craco.config.js:
craco.config.js
module.exports = { webpack: { alias: alias, configure: { module: { rules: [{ test: /\.less$/, use: [{ loader: 'less-loader', // compile Less to CSS options: { lessOptions: { modifyVars: { // antd customize 'primary-color': '#038952', 'layout-header-background': '#0B7E4F', 'layout-sider-background': '#ffffff', }, javascriptEnabled: true, }, }, }], }], }, }, }, };
But it does't work.
I must use craco@^6.0.0
craco@^6.0.0
The text was updated successfully, but these errors were encountered:
Below article might be help?~
https://github.com/xtech-guru/create-react-app/blob/add-less-support/docusaurus/docs/adding-a-less-stylesheet.md
Sorry, something went wrong.
Below article might be help?~ https://github.com/xtech-guru/create-react-app/blob/add-less-support/docusaurus/docs/adding-a-less-stylesheet.md
Note: this feature is available with [email protected] and higher.
The current latest version is 4.0.3. So I have to wait for official update.
No branches or pull requests
The
craco-less
craco-antd
project is almost dead.I read doc less-loader and my
craco.config.js
:But it does't work.
I must use
craco@^6.0.0
The text was updated successfully, but these errors were encountered: