找到 此项目 < static < .webpackrc
用以下代码覆盖原有代码
{
"extraBabelPlugins": [
["import", { "libraryName": "antd", "libraryDirectory": "es", "style": true }]
],
"env": {
"development": {
"extraBabelPlugins": ["dva-hmr"],
"ESLINT": "none",
"TSLINT": "none",
"SOCKET_SERVER": "none"
}
},
"outputPath": "dist/1.0.0/",
"theme": {
"primary-color": "#37b991"
}
}
在
"theme": {
"primary-color": "#37b991"
}
中输入自己想更换的色调
就OK啦~