-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
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
about less modules #231
Comments
Right:xxx.module.less |
@shx996 This is not working in my case. Now I get an error
|
@unsafeFunction I have the same problem. What should i do? |
@unsafeFunction Check out #226 |
The same error occurs when I use Ant Design. |
@iamsmartloser // ...
addLessLoader({
lessOptions: {
javascriptEnabled: true,
modifyVars: { '@primary-color': '#A80000' },
},
}),
// ... |
my code is as follows
config-overrides.js
There's no problem when it's used like this
import './index.less';
I want to use a. Less file like this
When I print like this
console.log('styles:',styles)
the result is {}
When I change the .less file to the .module.less file, an error will be reported again
why?
The text was updated successfully, but these errors were encountered: