projects created with dva-cli
projects .wabpackrc
are configured as follows
{
"extraBabelPlugins": [
["import", { "libraryName": "antd", "libraryDirectory": "es", "style": "true" }]
],
"theme": {
"@primary-color": "-sharp1088ae"
}
}
the current writing method, not only did not change the color matching, the original antd style has not been successfully introduced.
do you need to configure less-load separately
according to the official documentation, you only need to configure .webpackrc less