How can I avoid this error 'ERR_INVALID_ARG_TYPE'?
Opened this issue · 2 comments
jasp402 commented
I am using Ant.Design Pro V4
according to what I have read in the documentation a configuration file is all that is required.
//themePluginConfig.js
export default {
theme: [
{
fileName: 'theme1.css',
key: 'theme1',
modifyVars: {
'@ primary-color': '# 13C2C2',
'@ menu-dark-color': '# 324444',
'@ menu-dark-bg': '# 5A5A5A',
},
},
{
fileName: 'theme2.css',
key: 'theme2',
modifyVars: {
'@ primary-color': '# 4992BF',
'@ menu-dark-color': '# 9B9B9B',
'@ menu-dark-bg': '# 3A3A3A',
},
},
],
};
I would really appreciate if someone could help me
Thanks you!
gdgd8760 commented
me too
nkHub commented
params modifyVars is required.